mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00: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: 2226ca1734
("arm: mvebu: Load U-Boot proper binary in SPL code based on kwbimage header")
This commit is contained in:
parent
60b9b47d29
commit
d73db30427
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue