[U-Boot] [PATCH] omap3_overo: Reduce SPL size

Borrowing from omap3_logic, switch to SPL_SYS_MALLOC_SIMPLE and moving the stack to DDR as soon as we're able.
Signed-off-by: Tom Rini trini@konsulko.com --- configs/omap3_overo_defconfig | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/configs/omap3_overo_defconfig b/configs/omap3_overo_defconfig index e841948ae6fb..0fa05cb0fa8a 100644 --- a/configs/omap3_overo_defconfig +++ b/configs/omap3_overo_defconfig @@ -4,6 +4,10 @@ CONFIG_TARGET_OMAP3_OVERO=y CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y CONFIG_SPL=y +CONFIG_SPL_SYS_MALLOC_SIMPLE=y +CONFIG_SPL_STACK_R_ADDR=0x82000000 +CONFIG_SPL_STACK_R=y +CONFIG_SYS_MALLOC_F_LEN=0x2000 CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_OS_BOOT=y CONFIG_HUSH_PARSER=y

On Sat, Mar 11, 2017 at 3:34 PM, Tom Rini trini@konsulko.com wrote:
Borrowing from omap3_logic, switch to SPL_SYS_MALLOC_SIMPLE and moving the stack to DDR as soon as we're able.
Should we do that for all the omap3 devices?
Signed-off-by: Tom Rini trini@konsulko.com
configs/omap3_overo_defconfig | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/configs/omap3_overo_defconfig b/configs/omap3_overo_defconfig index e841948ae6fb..0fa05cb0fa8a 100644 --- a/configs/omap3_overo_defconfig +++ b/configs/omap3_overo_defconfig @@ -4,6 +4,10 @@ CONFIG_TARGET_OMAP3_OVERO=y CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_VERSION_VARIABLE=y CONFIG_SPL=y +CONFIG_SPL_SYS_MALLOC_SIMPLE=y +CONFIG_SPL_STACK_R_ADDR=0x82000000 +CONFIG_SPL_STACK_R=y +CONFIG_SYS_MALLOC_F_LEN=0x2000 CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_OS_BOOT=y CONFIG_HUSH_PARSER=y -- 1.9.1
U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

On Sat, Mar 11, 2017 at 04:08:47PM +0000, Peter Robinson wrote:
On Sat, Mar 11, 2017 at 3:34 PM, Tom Rini trini@konsulko.com wrote:
Borrowing from omap3_logic, switch to SPL_SYS_MALLOC_SIMPLE and moving the stack to DDR as soon as we're able.
Should we do that for all the omap3 devices?
Yes. I'm probably doing this one first on its own so that we can bring in the thumb errata patch (which grows this one into non-linking in travis). But I think I should hold off on the errata patch until after the release, just to be safe.
participants (2)
-
Peter Robinson
-
Tom Rini