@@ -82,6 +82,6 @@
#define PHY_ANEG_TIMEOUT 800
/* Uboot size */
-#define CONFIG_SYS_MONITOR_LEN (1024 * 1024)
+#define CONFIG_SYS_MONITOR_LEN ((1024 - 64) * 1024)
#endif /* __ASPEED_COMMON_CONFIG_H */
@@ -13,6 +13,7 @@
#define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_MEMTEST_START + 0x5000000)
#define CONFIG_SYS_UBOOT_BASE CONFIG_SYS_TEXT_BASE
+#define CONFIG_SYS_UBOOT_START 0x81000000
/* Memory Info */
#define CONFIG_SYS_LOAD_ADDR 0x83000000
@@ -32,4 +33,7 @@
#define CONFIG_SUPPORT_EMMC_BOOT
+#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0x80 /* address 0x10000 */
+#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS 0xf0000 /* 960KiB (1M - 64K) */
+
#endif /* __CONFIG_H */
Assume a u-boot that is 1MB, minus 64KB for the SPL, that is linked and loaded to an address in DRAM. Signed-off-by: Joel Stanley <joel@jms.id.au> --- include/configs/aspeed-common.h | 2 +- include/configs/evb_ast2600a1_spl.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-)