aboutsummaryrefslogtreecommitdiffstats
path: root/include/configs/meson64.h
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2021-09-17 09:37:04 +0200
committerNeil Armstrong <narmstrong@baylibre.com>2021-10-07 10:14:50 +0200
commitf485e9dfa75597c7876ffbe97c91b4f6828f4135 (patch)
tree9e7d5c65a5694d4e2f31996004e582125f102b0e /include/configs/meson64.h
parent3da675a93bee1ecbd652d98ce85ef58140d4c215 (diff)
downloadu-boot-f485e9dfa75597c7876ffbe97c91b4f6828f4135.tar.gz
configs: meson64: add SCSI boot target
Add SCSI target to be able to boot from the SATA disks on the Odroid HC4 using an on-board AHCI PCIe controller. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
Diffstat (limited to 'include/configs/meson64.h')
-rw-r--r--include/configs/meson64.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/meson64.h b/include/configs/meson64.h
index b779363b2b0..cb202d55556 100644
--- a/include/configs/meson64.h
+++ b/include/configs/meson64.h
@@ -62,6 +62,12 @@
#define BOOT_TARGET_NVME(func)
#endif
+#ifdef CONFIG_CMD_SCSI
+ #define BOOT_TARGET_SCSI(func) func(SCSI, scsi, 0)
+#else
+ #define BOOT_TARGET_SCSI(func)
+#endif
+
#ifndef BOOT_TARGET_DEVICES
#define BOOT_TARGET_DEVICES(func) \
func(ROMUSB, romusb, na) \
@@ -70,6 +76,7 @@
func(MMC, mmc, 2) \
BOOT_TARGET_DEVICES_USB(func) \
BOOT_TARGET_NVME(func) \
+ BOOT_TARGET_SCSI(func) \
func(PXE, pxe, na) \
func(DHCP, dhcp, na)
#endif