diff options
author | Tom Rini <trini@konsulko.com> | 2021-08-27 21:18:30 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-08-31 17:47:49 -0400 |
commit | a2ac2b964bfbb20d6791ee94b9034a50cfadb5b0 (patch) | |
tree | 9ab0cc43b3abf55efbab3014e5a0d818a7c5f051 /arch/mips/cpu | |
parent | ab92b38a0161f0d8efa1c2112d944ef8f755dfbe (diff) | |
download | u-boot-a2ac2b964bfbb20d6791ee94b9034a50cfadb5b0.zip u-boot-a2ac2b964bfbb20d6791ee94b9034a50cfadb5b0.tar.gz u-boot-a2ac2b964bfbb20d6791ee94b9034a50cfadb5b0.tar.bz2 |
Convert CONFIG_SKIP_LOWLEVEL_INIT et al to Kconfig
This converts the following to Kconfig:
CONFIG_SKIP_LOWLEVEL_INIT
CONFIG_SKIP_LOWLEVEL_INIT_ONLY
In order to do this, we need to introduce SPL and TPL variants of these
options so that we can clearly disable these options only in SPL in some
cases, and both instances in other cases.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/mips/cpu')
-rw-r--r-- | arch/mips/cpu/start.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/cpu/start.S b/arch/mips/cpu/start.S index 335aafa..47251a5 100644 --- a/arch/mips/cpu/start.S +++ b/arch/mips/cpu/start.S @@ -233,7 +233,7 @@ wr_done: # endif #endif -#ifndef CONFIG_SKIP_LOWLEVEL_INIT +#if !CONFIG_IS_ENABLED(SKIP_LOWLEVEL_INIT) # ifdef CONFIG_SYS_MIPS_CACHE_INIT_RAM_LOAD /* Initialize any external memory */ PTR_LA t9, lowlevel_init @@ -254,7 +254,7 @@ wr_done: nop #endif -#ifndef CONFIG_SKIP_LOWLEVEL_INIT +#if !CONFIG_IS_ENABLED(SKIP_LOWLEVEL_INIT) # ifndef CONFIG_SYS_MIPS_CACHE_INIT_RAM_LOAD /* Initialize any external memory */ PTR_LA t9, lowlevel_init |