summaryrefslogtreecommitdiff
path: root/include/configs/clearfog.h
diff options
context:
space:
mode:
authorJosua Mayer <josua@solid-run.com>2020-02-17 21:37:28 +0300
committerStefan Roese <sr@denx.de>2020-04-14 14:16:42 +0300
commit201a500deccd2375e663d9266f2ae0173d173a81 (patch)
tree860741d16cf7ec45d7dc325d1c525ff8459f82de /include/configs/clearfog.h
parenta1dd1fcb6ede14f74d3c7ec1319a6f3f9cd23f6a (diff)
downloadu-boot-201a500deccd2375e663d9266f2ae0173d173a81.tar.xz
arm: mvebu: clearfog: add scsi target to distro-boot
Support for sata devices via the scsi command is available and already enabled by default for the Clearfog Base and Pro. This change adds scsi to the list of boot targets used by distro-boot. Signed-off-by: Josua Mayer <josua@solid-run.com> Cc: Stefan Roese <sr@denx.de> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/configs/clearfog.h')
-rw-r--r--include/configs/clearfog.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/clearfog.h b/include/configs/clearfog.h
index 633187d86f..33c71b3d51 100644
--- a/include/configs/clearfog.h
+++ b/include/configs/clearfog.h
@@ -104,6 +104,12 @@
#define BOOT_TARGET_DEVICES_MMC(func)
#endif
+#ifdef CONFIG_SCSI
+#define BOOT_TARGET_DEVICES_SCSI(func) func(SCSI, scsi, 0)
+#else
+#define BOOT_TARGET_DEVICES_SCSI(func)
+#endif
+
#ifdef CONFIG_USB_STORAGE
#define BOOT_TARGET_DEVICES_USB(func) func(USB, usb, 0)
#else
@@ -112,6 +118,7 @@
#define BOOT_TARGET_DEVICES(func) \
BOOT_TARGET_DEVICES_MMC(func) \
+ BOOT_TARGET_DEVICES_SCSI(func) \
BOOT_TARGET_DEVICES_USB(func) \
func(PXE, pxe, na) \
func(DHCP, dhcp, na)