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

Peter Robinson pbrobinson at gmail.com
Sat Mar 11 16:08:47 UTC 2017


On Sat, Mar 11, 2017 at 3:34 PM, Tom Rini <trini at 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 at 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 at lists.denx.de
> https://lists.denx.de/listinfo/u-boot


More information about the U-Boot mailing list