mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 23:47:24 +00:00
arm: mvebu: Remove A38x BOOT_FROM_SATA 0x22 constant
A385 BootROM treats strapping configuration 0x22 as SPI-NAND. So remove incorrect definition 0x22 as SATA. SATA on A385 has configuration 0x2A. Signed-off-by: Pali Rohár <pali@kernel.org> Tested-by: Tony Dinh <mibodhi@gmail.com> Tested-by: Martin Rowe <martin.p.rowe@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
2360409d9c
commit
4642bb3e76
2 changed files with 1 additions and 3 deletions
|
@ -114,7 +114,6 @@ u32 get_boot_device(void)
|
|||
return BOOT_DEVICE_UART;
|
||||
#ifdef BOOT_FROM_SATA
|
||||
case BOOT_FROM_SATA:
|
||||
case BOOT_FROM_SATA_ALT:
|
||||
return BOOT_DEVICE_SATA;
|
||||
#endif
|
||||
case BOOT_FROM_SPI:
|
||||
|
|
|
@ -161,9 +161,8 @@
|
|||
#define BOOT_DEV_SEL_MASK (0x3f << BOOT_DEV_SEL_OFFS)
|
||||
|
||||
#define BOOT_FROM_NAND 0x0A
|
||||
#define BOOT_FROM_SATA 0x22
|
||||
#define BOOT_FROM_SATA 0x2A
|
||||
#define BOOT_FROM_UART 0x28
|
||||
#define BOOT_FROM_SATA_ALT 0x2A
|
||||
#define BOOT_FROM_SPI 0x32
|
||||
#define BOOT_FROM_MMC 0x30
|
||||
#define BOOT_FROM_MMC_ALT 0x31
|
||||
|
|
Loading…
Reference in a new issue