diff options
author | Tom Rini | 2022-10-28 20:26:55 -0400 |
---|---|---|
committer | Tom Rini | 2022-11-10 09:45:53 -0500 |
commit | d3d0b5bb622d36851afffa4a60a8ec3c31db2572 (patch) | |
tree | 6cb1b3e551b98ba9b3a1d127976044a5b2338c11 /arch | |
parent | 9244b2fda9edbc5f1c2b9b9bb827022993663d4a (diff) |
Convert CONFIG_SYS_INIT_RAM_LOCK to Kconfig
This converts the following to Kconfig:
CONFIG_SYS_INIT_RAM_LOCK
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/Kconfig | 4 | ||||
-rw-r--r-- | arch/powerpc/include/asm/cache.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 3b518c26951..c355a954537 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -40,6 +40,10 @@ config HIGH_BATS Enable BATs (block address translation registers) 4-7 on machines that support them. +config SYS_INIT_RAM_LOCK + bool "Lock some portion of L1 for initial ram stack" + depends on MPC83xx || MPC85xx + source "arch/powerpc/cpu/mpc83xx/Kconfig" source "arch/powerpc/cpu/mpc85xx/Kconfig" source "arch/powerpc/cpu/mpc8xx/Kconfig" diff --git a/arch/powerpc/include/asm/cache.h b/arch/powerpc/include/asm/cache.h index f753ddf799e..b94faa5408e 100644 --- a/arch/powerpc/include/asm/cache.h +++ b/arch/powerpc/include/asm/cache.h @@ -45,9 +45,7 @@ extern void invalidate_dcache_range(unsigned long start, unsigned long stop); extern void flush_dcache(void); extern void invalidate_dcache(void); extern void invalidate_icache(void); -#ifdef CONFIG_SYS_INIT_RAM_LOCK extern void unlock_ram_in_cache(void); -#endif /* CONFIG_SYS_INIT_RAM_LOCK */ #endif /* __ASSEMBLY__ */ #if defined(__KERNEL__) && !defined(__ASSEMBLY__) |