at91, smartweb: use SPL_SYS_MALLOC_F_LEN
PATCH 1/1 at91, smartweb: use SPL_SYS_MALLOC_F_LEN
commit f1896c45cb2f: spl: make SPL and normal u-boot stage use independent SYS_MALLOC_F_LEN introduced independent SYS_MALLOC_F_LEN for SPL and U-Boot.
Use it on the smartweb board, as above commit broke the smartweb board.
Signed-off-by Heiko Schocher <[email protected]>
---
configs/smartweb_defconfig | 1 + include/configs/smartweb.h | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-)
configs/smartweb_defconfig +1 -0
@@ -10,6 +10,7 @@ CONFIG_SPL_LIBGENERIC_SUPPORT=y CONFIG_SYS_MALLOC_F_LEN=0x2000 CONFIG_SPL_NAND_SUPPORT=y CONFIG_DEFAULT_DEVICE_TREE="at91sam9260-smartweb" +CONFIG_SPL_SYS_MALLOC_F_LEN=0x400 CONFIG_FIT=y CONFIG_SYS_EXTRA_OPTIONS="AT91SAM9260" CONFIG_ENV_IS_IN_NAND=y
include/configs/smartweb.h +0 -3
@@ -200,9 +200,6 @@#define CONFIG_SYS_INIT_SP_ADDR 0x301000#define CONFIG_SPL_STACK_R #define CONFIG_SPL_STACK_R_ADDR CONFIG_SYS_TEXT_BASE -/* we have only 4k sram in SPL, so cut SYS_MALLOC_F_LEN */ -#undef CONFIG_SYS_MALLOC_F_LEN -#define CONFIG_SYS_MALLOC_F_LEN 0x400#else /* * Initial stack pointer: 4k - GENERATED_GBL_DATA_SIZE in internal SRAM,
Signature · 1 line
2.13.3
PATCH 1/1 at91, smartweb: use SPL_SYS_MALLOC_F_LEN
Quoted 7 lines · Heiko Schocher
commit
f1896c45cb2f: spl: make SPL and normal u-boot stage use independentSYS_MALLOC_F_LENintroduced independentSYS_MALLOC_F_LENfor SPL and U-Boot.Use it on the smartweb board, as above commit broke the smartweb board.
Signed-off-by Heiko Schocher <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170812/f76336df/attachment.sig>