[PATCH u-boot v2019.04-aspeed-openbmc v1 1/2] ast2600: spl: Fixes boot from RAM device
Troy Lee
troy_lee at aspeedtech.com
Wed Jun 23 16:07:41 AEST 2021
Reporting a BOOT_DEVICE_RAM can leverage common/spl/spl_ram.c
to bring up u-boot.bin by memory offset 0x00010000.
Fixes: 13dd0b0f7273 ("ast2600: spl: Support common boot loader features")
Signed-off-by: Troy Lee <troy_lee at aspeedtech.com>
---
arch/arm/mach-aspeed/ast2600/spl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-aspeed/ast2600/spl.c b/arch/arm/mach-aspeed/ast2600/spl.c
index 778b326755..c759a7575d 100644
--- a/arch/arm/mach-aspeed/ast2600/spl.c
+++ b/arch/arm/mach-aspeed/ast2600/spl.c
@@ -66,7 +66,7 @@ u32 spl_boot_device(void)
case AST_BOOTMODE_EMMC:
return BOOT_DEVICE_MMC1;
case AST_BOOTMODE_SPI:
- return BOOT_DEVICE_SPI;
+ return BOOT_DEVICE_RAM;
case AST_BOOTMODE_UART:
return BOOT_DEVICE_UART;
}
--
2.17.1
More information about the openbmc
mailing list