public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Milan P. Stanić" <mps@arvanta.net>
To: u-boot@lists.denx.de
Cc: "Shengyu Qu" <wiagn233@outlook.com>,
	"Jami Kettunen" <jamipkettunen@gmail.com>,
	"Milan P . Stanić" <mps@arvanta.net>
Subject: [PATCH 1/1] starfive: visionfive2: add mmc0 and nvme boot targets
Date: Mon, 18 Sep 2023 10:32:29 +0200	[thread overview]
Message-ID: <20230918083231.20092-1-mps@arvanta.net> (raw)

boot from SDIO3.0 (mmc sdcard) first if it is plugged.
If mmc is not plugged try to boot from emmc if it is plugged.
If emmc is not plugged then try to boot from nvme.

Signed-off-by: Milan P. Stanić <mps@arvanta.net>
---
 include/configs/starfive-visionfive2.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/starfive-visionfive2.h b/include/configs/starfive-visionfive2.h
index 4ee02b8420..13cf2aeef9 100644
--- a/include/configs/starfive-visionfive2.h
+++ b/include/configs/starfive-visionfive2.h
@@ -19,6 +19,8 @@
 
 #define BOOT_TARGET_DEVICES(func) \
 	func(MMC, mmc, 1) \
+	func(MMC, mmc, 0) \
+	func(NVME, nvme, 0) \
 	func(DHCP, dhcp, na)
 
 #include <config_distro_bootcmd.h>
-- 
2.42.0


             reply	other threads:[~2023-09-18  8:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-18  8:32 Milan P. Stanić [this message]
2023-09-20 12:45 ` [PATCH 1/1] starfive: visionfive2: add mmc0 and nvme boot targets Leo Liang
2023-09-23 19:53   ` Simon Glass
2023-09-25 11:39     ` Leo Liang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230918083231.20092-1-mps@arvanta.net \
    --to=mps@arvanta.net \
    --cc=jamipkettunen@gmail.com \
    --cc=u-boot@lists.denx.de \
    --cc=wiagn233@outlook.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox