From: Josua Mayer Date: Mon, 17 Feb 2020 18:37:28 +0000 (+0100) Subject: arm: mvebu: clearfog: add scsi target to distro-boot X-Git-Tag: v2020.10~289^2~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=201a500deccd2375e663d9266f2ae0173d173a81;p=platform%2Fkernel%2Fu-boot.git 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 Cc: Stefan Roese Reviewed-by: Stefan Roese --- diff --git a/include/configs/clearfog.h b/include/configs/clearfog.h index 633187d..33c71b3 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)