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

2020-01-10 Thread Stefan Roese
On 08.01.20 04:01, Weijie Gao wrote: 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 cal

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

2020-01-08 Thread Daniel Schwierzeck
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_i

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

2020-01-07 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. Signed-off-