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

2020-02-10 Thread Daniel Schwierzeck
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_i

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

2020-01-21 Thread 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