diff options
author | Marek BehĂșn <marek.behun@nic.cz> | 2019-05-02 16:53:29 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2019-05-03 08:14:39 +0200 |
commit | f9779f5ba371d2be27aeb64f54242d710e882ca6 (patch) | |
tree | 1e2c905a369a73339a7dc5f6886b09364d6d6302 /include/configs | |
parent | 8420edcfdaa66ee147a99eb790f82565fa8389ef (diff) |
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 <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/turris_omnia.h | 7 |
1 files changed, 7 insertions, 0 deletions
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) |