[PATCH u-boot v2019.04-aspeed-openbmc v1 2/2] ast2600: Provide u-boot FIT image boot from RAM offset
Troy Lee
troy_lee at aspeedtech.com
Wed Jun 23 13:57:55 AEST 2021
If BOOT_DEVICE_RAM is selected, CONFIG_SPL_LOAD_FIT_ADDRESS will be
required in loader spl/spl_ram.c, and the offset is 64KiB.
Signed-off-by: Troy Lee <troy_lee at aspeedtech.com>
---
include/configs/evb_ast2600_spl.h | 1 +
include/configs/evb_ast2600a1_spl.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/include/configs/evb_ast2600_spl.h b/include/configs/evb_ast2600_spl.h
index a39988820a..f4f1b46d89 100644
--- a/include/configs/evb_ast2600_spl.h
+++ b/include/configs/evb_ast2600_spl.h
@@ -29,6 +29,7 @@
#define CONFIG_SPL_STACK 0x10016000
#define CONFIG_SPL_BSS_START_ADDR 0x90000000
#define CONFIG_SPL_BSS_MAX_SIZE 0x00100000
+#define CONFIG_SPL_LOAD_FIT_ADDRESS 0x00010000
#define CONFIG_SUPPORT_EMMC_BOOT
diff --git a/include/configs/evb_ast2600a1_spl.h b/include/configs/evb_ast2600a1_spl.h
index a39988820a..f4f1b46d89 100644
--- a/include/configs/evb_ast2600a1_spl.h
+++ b/include/configs/evb_ast2600a1_spl.h
@@ -29,6 +29,7 @@
#define CONFIG_SPL_STACK 0x10016000
#define CONFIG_SPL_BSS_START_ADDR 0x90000000
#define CONFIG_SPL_BSS_MAX_SIZE 0x00100000
+#define CONFIG_SPL_LOAD_FIT_ADDRESS 0x00010000
#define CONFIG_SUPPORT_EMMC_BOOT
--
2.17.1
More information about the openbmc
mailing list