[PATCH 05/16] mips: add an option to support initialize SRAM for initial stack

Daniel Schwierzeck daniel.schwierzeck at gmail.com
Wed Jan 8 15:35:17 CET 2020



Am 08.01.20 um 04:01 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.
> 
> Signed-off-by: Weijie Gao <weijie.gao at mediatek.com>
> ---
>  arch/mips/Kconfig     | 9 +++++++++
>  arch/mips/cpu/start.S | 7 +++++++
>  2 files changed, 16 insertions(+)
> 

Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>

-- 
- Daniel


More information about the U-Boot mailing list