
8 Jan
2020
8 Jan
'20
3:35 p.m.
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@mediatek.com
arch/mips/Kconfig | 9 +++++++++ arch/mips/cpu/start.S | 7 +++++++ 2 files changed, 16 insertions(+)
Reviewed-by: Daniel Schwierzeck daniel.schwierzeck@gmail.com
--
- Daniel