mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-05 04:36:13 +02:00
arm: mvebu: Fix booting from SATA
Use proper SATA macro for boot_device switch in spl_boot_device() function.
Signed-off-by: Pali Rohár <pali@kernel.org>
Fixes: 2226ca173486 ("arm: mvebu: Load U-Boot proper binary in SPL code based on kwbimage header")
This commit is contained in:
parent
60b9b47d29
commit
d73db30427
@ -199,8 +199,8 @@ u32 spl_boot_device(void)
|
||||
return BOOT_DEVICE_MMC1;
|
||||
#endif
|
||||
#ifdef CONFIG_SPL_SATA
|
||||
case BOOT_FROM_SATA:
|
||||
return BOOT_FROM_SATA;
|
||||
case BOOT_DEVICE_SATA:
|
||||
return BOOT_DEVICE_SATA;
|
||||
#endif
|
||||
#ifdef CONFIG_SPL_SPI_FLASH_SUPPORT
|
||||
case BOOT_DEVICE_SPI:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user