The AST2700 EVB bootspi command reads the FIT image from ${fdtspiaddr},
but the default environment does not define fdtspiaddr. Set it to the
SPI-mapped FIT image address used by the OpenBMC image layout: flash
offset 0x420000, right after the environment, in the FMC AHB window at
0x100000000.

Fixes: b62b55ba4b2d ("arm: aspeed: add ASPEED AST2700 SoC family support")
Signed-off-by: Cooper Huang <[email protected]>
---
 include/configs/evb_ast2700.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/configs/evb_ast2700.h b/include/configs/evb_ast2700.h
index 6b73eddc1af..bf5cda94fe4 100644
--- a/include/configs/evb_ast2700.h
+++ b/include/configs/evb_ast2700.h
@@ -21,6 +21,7 @@
                "bootm ${loadaddr}; "                                   \
                "echo Error loading kernel FIT image\0"                 \
        "loadaddr=" STR(CONFIG_SYS_LOAD_ADDR) "\0"                      \
+       "fdtspiaddr=0x100420000\0"                                      \
        "bootside=a\0"                                                  \
        "rootfs=rofs-a\0"                                               \
        "setmmcargs=setenv bootargs ${bootargs} "                       \

---
base-commit: 65a7532545336e4b73e049a69436e255da7df961
change-id: 20261016-ast2700-fdtspiaddr-c0c1187925b6

Best regards,
-- 
Cooper Huang <[email protected]>

Reply via email to