Convert CONFIG_SKIP_LOWLEVEL_INIT et al to Kconfig
[platform/kernel/u-boot.git] / arch / Kconfig
index 25f4a15..507ebf7 100644 (file)
@@ -351,6 +351,63 @@ config SYS_DISABLE_DCACHE_OPS
         Note that, its up to the individual architectures to implement
         this functionality.
 
+config SKIP_LOWLEVEL_INIT
+       bool "Skip the calls to certain low level initialization functions"
+       depends on ARM || NDS32 || MIPS || RISCV
+       help
+         If enabled, then certain low level initializations (like setting up
+         the memory controller) are omitted and/or U-Boot does not relocate
+         itself into RAM.
+         Normally this variable MUST NOT be defined. The only exception is
+         when U-Boot is loaded (to RAM) by some other boot loader or by a
+         debugger which performs these initializations itself.
+
+config SPL_SKIP_LOWLEVEL_INIT
+       bool "Skip the calls to certain low level initialization functions"
+       depends on SPL && (ARM || NDS32 || MIPS || RISCV)
+       help
+         If enabled, then certain low level initializations (like setting up
+         the memory controller) are omitted and/or U-Boot does not relocate
+         itself into RAM.
+         Normally this variable MUST NOT be defined. The only exception is
+         when U-Boot is loaded (to RAM) by some other boot loader or by a
+         debugger which performs these initializations itself.
+
+config TPL_SKIP_LOWLEVEL_INIT
+       bool "Skip the calls to certain low level initialization functions"
+       depends on SPL && ARM
+       help
+         If enabled, then certain low level initializations (like setting up
+         the memory controller) are omitted and/or U-Boot does not relocate
+         itself into RAM.
+         Normally this variable MUST NOT be defined. The only exception is
+         when U-Boot is loaded (to RAM) by some other boot loader or by a
+         debugger which performs these initializations itself.
+
+config SKIP_LOWLEVEL_INIT_ONLY
+       bool "Skip the call to lowlevel_init during early boot ONLY"
+       depends on ARM
+       help
+         This allows just the call to lowlevel_init() to be skipped. The
+         normal CP15 init (such as enabling the instruction cache) is still
+         performed.
+
+config SPL_SKIP_LOWLEVEL_INIT_ONLY
+       bool "Skip the call to lowlevel_init during early boot ONLY"
+       depends on SPL && ARM
+       help
+         This allows just the call to lowlevel_init() to be skipped. The
+         normal CP15 init (such as enabling the instruction cache) is still
+         performed.
+
+config TPL_SKIP_LOWLEVEL_INIT_ONLY
+       bool "Skip the call to lowlevel_init during early boot ONLY"
+       depends on TPL && ARM
+       help
+         This allows just the call to lowlevel_init() to be skipped. The
+         normal CP15 init (such as enabling the instruction cache) is still
+         performed.
+
 source "arch/arc/Kconfig"
 source "arch/arm/Kconfig"
 source "arch/m68k/Kconfig"