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 <[email protected]>
> ---
> arch/mips/Kconfig | 9 +++++++++
> arch/mips/cpu/start.S | 7 +++++++
> 2 files changed, 16 insertions(+)
>
Reviewed-by: Daniel Schwierzeck <[email protected]>
--
- Daniel