commit | eb7d3a2c1780edf8036809c9e62f938e32f7806e | [log] [tgz] |
---|---|---|
author | developer <developer@mediatek.com> | Tue Apr 21 09:28:27 2020 +0200 |
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | Mon Apr 27 20:29:33 2020 +0200 |
tree | 10775361e669e3fb4dbd4e3a503898e7eca7cc4d | |
parent | aa1c1d33f859ff0580f54c8cd7b04bcdb2fe3faf [diff] |
mips: add an option to support initialize SRAM for initial stack 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.schwierzeck@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de>