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_init() being > called before setup_stack_gd. > > Reviewed-by: Daniel Schwierzeck <daniel.schwierz...@gmail.com> > Reviewed-by: Stefan Roese <s...@denx.de> > Signed-off-by: Weijie Gao <weijie....@mediatek.com> > --- > Changes since v2: none > --- > arch/mips/Kconfig | 9 +++++++++ > arch/mips/cpu/start.S | 7 +++++++ > 2 files changed, 16 insertions(+) > applied to u-boot-mips, thanks. -- - Daniel