From: Marek BehĂșn Date: Thu, 2 May 2019 14:53:29 +0000 (+0200) Subject: arm: mvebu: turris_omnia: add SCSI as boot target X-Git-Url: http://git.dujemihanovic.xyz/img/static/gitweb.css?a=commitdiff_plain;h=f9779f5ba371d2be27aeb64f54242d710e882ca6;p=u-boot.git arm: mvebu: turris_omnia: add SCSI as boot target If SCSI is enabled, U-Boot should try to boot also from SCSI device on Turris Omnia. Signed-off-by: Marek BehĂșn Reviewed-by: Stefan Roese Signed-off-by: Stefan Roese --- diff --git a/include/configs/turris_omnia.h b/include/configs/turris_omnia.h index 8e0c7bf0b4..018f54428b 100644 --- a/include/configs/turris_omnia.h +++ b/include/configs/turris_omnia.h @@ -89,9 +89,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)