[PATCH v3 03/20] mips: add an option to support initialize SRAM for initial stack

Daniel Schwierzeck daniel.schwierzeck at gmail.com
Mon Feb 10 16:25:24 CET 2020



Am 21.01.20 um 09:18 schrieb Weijie Gao:
> Currently CONFIG_MIPS_INIT_STACK_IN_SRAM assumes the memory space for the
> initial stack can be used directly. However on some platform the SRAM needs
> initialization, e.g. lock cache.
> 
> This patch adds an option to allow a new function mips_sram_init() being
> called before setup_stack_gd.
> 
> Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>
> Reviewed-by: Stefan Roese <sr at denx.de>
> Signed-off-by: Weijie Gao <weijie.gao at mediatek.com>
> ---
> Changes since v2: none
> ---
>  arch/mips/Kconfig     | 9 +++++++++
>  arch/mips/cpu/start.S | 7 +++++++
>  2 files changed, 16 insertions(+)
> 

applied to u-boot-mips, thanks.

-- 
- Daniel


More information about the U-Boot mailing list