mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-17 22:28:17 +01:00
arm: mvebu: turris_omnia: Always enable MMC, SCSI and USB boot targets
U-Boot for Turris Omnia is always compiled with MMC, SCSI and USB support, so always enable macros for booting from these devices. Signed-off-by: Pali Rohár <pali@kernel.org>
This commit is contained in:
parent
31f88018d9
commit
9efc5b7a4b
@ -52,28 +52,10 @@
|
|||||||
/* Include the common distro boot environment */
|
/* Include the common distro boot environment */
|
||||||
#ifndef CONFIG_SPL_BUILD
|
#ifndef CONFIG_SPL_BUILD
|
||||||
|
|
||||||
#ifdef CONFIG_MMC
|
|
||||||
#define BOOT_TARGET_DEVICES_MMC(func) func(MMC, mmc, 0)
|
|
||||||
#else
|
|
||||||
#define BOOT_TARGET_DEVICES_MMC(func)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef CONFIG_USB_STORAGE
|
|
||||||
#define BOOT_TARGET_DEVICES_USB(func) func(USB, usb, 0)
|
|
||||||
#else
|
|
||||||
#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) \
|
#define BOOT_TARGET_DEVICES(func) \
|
||||||
BOOT_TARGET_DEVICES_MMC(func) \
|
func(MMC, mmc, 0) \
|
||||||
BOOT_TARGET_DEVICES_SCSI(func) \
|
func(SCSI, scsi, 0) \
|
||||||
BOOT_TARGET_DEVICES_USB(func) \
|
func(USB, usb, 0) \
|
||||||
func(PXE, pxe, na) \
|
func(PXE, pxe, na) \
|
||||||
func(DHCP, dhcp, na)
|
func(DHCP, dhcp, na)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user