public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 1/2] arm: mvebu: clearfog: add SCSI to distro bootcmd
@ 2020-01-29  3:59 Joel Johnson
  2020-01-29  3:59 ` [PATCH 2/2] arm: mvebu: clearfog: support multiple SATA boot Joel Johnson
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Joel Johnson @ 2020-01-29  3:59 UTC (permalink / raw)
  To: u-boot

Include attempting to boot from SCSI (SATA) devices within generated
board distro bootcmd environment. The reasoning for boot ordering is
that MMC and USB are external and removable, while when a case is in
use, replacing M.2 or mSATA drives requires disassembly. Therefore,
to boot SCSI, [bootable] external media must be removed. If SCSI were
placed before MMC or USB, then removing a bootable SCSI drive to
enable MMC or USB booting would be more difficult.

Signed-off-by: Joel Johnson <mrjoel@lixil.net>

---

 include/configs/clearfog.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/include/configs/clearfog.h b/include/configs/clearfog.h
index 633187d86f..a452f4b009 100644
--- a/include/configs/clearfog.h
+++ b/include/configs/clearfog.h
@@ -110,9 +110,16 @@
 #define BOOT_TARGET_DEVICES_USB(func)
 #endif
 
+#ifdef CONFIG_SCSI
+#define BOOT_TARGET_DEVICES_SCSI(func) func(SCSI, scsi, 0)
+#else
+#define BOOT_TARGET_DEVICES_SCSI(func)
+#endif
+
 #define BOOT_TARGET_DEVICES(func) \
 	BOOT_TARGET_DEVICES_MMC(func) \
 	BOOT_TARGET_DEVICES_USB(func) \
+	BOOT_TARGET_DEVICES_SCSI(func) \
 	func(PXE, pxe, na) \
 	func(DHCP, dhcp, na)
 
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-04-17  7:08 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-29  3:59 [PATCH 1/2] arm: mvebu: clearfog: add SCSI to distro bootcmd Joel Johnson
2020-01-29  3:59 ` [PATCH 2/2] arm: mvebu: clearfog: support multiple SATA boot Joel Johnson
2020-03-23 10:23   ` Stefan Roese
2020-03-22 18:53 ` [PATCH 1/2] arm: mvebu: clearfog: add SCSI to distro bootcmd Joel Johnson
2020-03-23 10:27   ` Stefan Roese
2020-03-23 15:38     ` Joel Johnson
2020-03-23 10:20 ` Stefan Roese
2020-04-16  4:09   ` Joel Johnson
2020-04-16  6:13     ` Stefan Roese
2020-04-17  7:08       ` Joel Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox