From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Schwierzeck Date: Wed, 8 Jan 2020 15:35:17 +0100 Subject: [PATCH 05/16] mips: add an option to support initialize SRAM for initial stack In-Reply-To: <1578452476-6867-1-git-send-email-weijie.gao@mediatek.com> References: <1578452476-6867-1-git-send-email-weijie.gao@mediatek.com> Message-ID: <36fcb778-e9e7-5c86-01dd-970a48a3642d@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > arch/mips/Kconfig | 9 +++++++++ > arch/mips/cpu/start.S | 7 +++++++ > 2 files changed, 16 insertions(+) > Reviewed-by: Daniel Schwierzeck -- - Daniel