]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Convert CONFIG_SYS_BOOT_RAMDISK_HIGH to Kconfig
authorTom Rini <trini@konsulko.com>
Sat, 25 Jun 2022 15:02:46 +0000 (11:02 -0400)
committerTom Rini <trini@konsulko.com>
Thu, 7 Jul 2022 18:01:09 +0000 (14:01 -0400)
This converts the following to Kconfig:
   CONFIG_SYS_BOOT_RAMDISK_HIGH

Signed-off-by: Tom Rini <trini@konsulko.com>
README
arch/arc/include/asm/config.h
arch/arm/include/asm/config.h
arch/m68k/include/asm/config.h
arch/microblaze/include/asm/config.h
arch/mips/include/asm/config.h
arch/powerpc/include/asm/config.h
arch/riscv/include/asm/config.h
arch/x86/include/asm/config.h
boot/Kconfig
scripts/config_whitelist.txt

diff --git a/README b/README
index dae467a4da0951d563b9414aeb07306bb4f737f5..fb0284d4ecb6d5f8acaa5a85e6feae1ff45320f3 100644 (file)
--- a/README
+++ b/README
@@ -1754,11 +1754,6 @@ Configuration Settings:
                CONFIG_SYS_BOOTMAPSZ.  If CONFIG_SYS_BOOTMAPSZ is undefined,
                then the value in "bootm_size" will be used instead.
 
-- CONFIG_SYS_BOOT_RAMDISK_HIGH:
-               Enable initrd_high functionality.  If defined then the
-               initrd_high feature is enabled and the bootm ramdisk subcommand
-               is enabled.
-
 - CONFIG_SYS_BOOT_GET_CMDLINE:
                Enables allocating and saving kernel cmdline in space between
                "bootm_low" and "bootm_low" + BOOTMAPSZ.
index 46e94be141b937ca276bf094e85a69eae85c98a6..afdfcaa78b57693e736af71ade1c8197332e1db7 100644 (file)
@@ -6,6 +6,4 @@
 #ifndef __ASM_ARC_CONFIG_H_
 #define __ASM_ARC_CONFIG_H_
 
-#define CONFIG_SYS_BOOT_RAMDISK_HIGH
-
 #endif /*__ASM_ARC_CONFIG_H_ */
index be44b76764293b9912d16c276f267aa69a0d0829..5870412c439039bc31d3c8b9a1d6834ea42577d8 100644 (file)
@@ -6,8 +6,6 @@
 #ifndef _ASM_CONFIG_H_
 #define _ASM_CONFIG_H_
 
-#define CONFIG_SYS_BOOT_RAMDISK_HIGH
-
 #if defined(CONFIG_ARCH_LS1021A) || \
        defined(CONFIG_FSL_LAYERSCAPE)
 #include <asm/arch/config.h>
index 221eb93d58bc6f67531e8d2c42baa24b410bee60..bad0026648a1477581daa322ba2baae035e24d22 100644 (file)
@@ -6,6 +6,4 @@
 #ifndef _ASM_CONFIG_H_
 #define _ASM_CONFIG_H_
 
-#define CONFIG_SYS_BOOT_RAMDISK_HIGH
-
 #endif
index 221eb93d58bc6f67531e8d2c42baa24b410bee60..bad0026648a1477581daa322ba2baae035e24d22 100644 (file)
@@ -6,6 +6,4 @@
 #ifndef _ASM_CONFIG_H_
 #define _ASM_CONFIG_H_
 
-#define CONFIG_SYS_BOOT_RAMDISK_HIGH
-
 #endif
index 221eb93d58bc6f67531e8d2c42baa24b410bee60..bad0026648a1477581daa322ba2baae035e24d22 100644 (file)
@@ -6,6 +6,4 @@
 #ifndef _ASM_CONFIG_H_
 #define _ASM_CONFIG_H_
 
-#define CONFIG_SYS_BOOT_RAMDISK_HIGH
-
 #endif
index 059ffe1fd4f954a1669d00626239674884f66d40..79fe567b5875577c4eba9a9e10d1c93eec4c358e 100644 (file)
@@ -14,8 +14,6 @@
   #define HWCONFIG_BUFFER_SIZE 256
 #endif
 
-#define CONFIG_SYS_BOOT_RAMDISK_HIGH
-
 #ifndef CONFIG_MAX_MEM_MAPPED
 #if    defined(CONFIG_E500)            || \
        defined(CONFIG_MPC86xx)         || \
index d911007537695cb9a86f98823712f39849df451c..c55c85d4e6cdee8fcb4fe978fada9a4b0c27376a 100644 (file)
@@ -7,6 +7,4 @@
 #ifndef _ASM_CONFIG_H_
 #define _ASM_CONFIG_H_
 
-#define CONFIG_SYS_BOOT_RAMDISK_HIGH
-
 #endif
index 221eb93d58bc6f67531e8d2c42baa24b410bee60..bad0026648a1477581daa322ba2baae035e24d22 100644 (file)
@@ -6,6 +6,4 @@
 #ifndef _ASM_CONFIG_H_
 #define _ASM_CONFIG_H_
 
-#define CONFIG_SYS_BOOT_RAMDISK_HIGH
-
 #endif
index e7a4d538d1cabf23f12c8208015b6bbeee9d9127..17438b566d5c574a351b3360dc471dcaed48b3ad 100644 (file)
@@ -606,6 +606,14 @@ config SYS_FSL_PBL_RCW
          Enables addition of RCW (Power on reset configuration) in built image.
          Please refer doc/README.pblimage for more details.
 
+config SYS_BOOT_RAMDISK_HIGH
+       depends on CMD_BOOTM || CMD_BOOTI || CMD_BOOTZ
+       depends on !(NIOS2 || SANDBOX || SH || XTENSA)
+       def_bool y
+       help
+         Enable initrd_high functionality.  If defined then the initrd_high
+         feature is enabled and the boot* ramdisk subcommand is enabled.
+
 endmenu                # Boot images
 
 menu "Boot timing"
index b0d693a58268622f39a5fc3c5b398d60265a4f44..6faa64fd2ec2b64dcb927f2ce5b8c28a99395d5d 100644 (file)
@@ -565,7 +565,6 @@ CONFIG_SYS_BOOTCOUNT_LE
 CONFIG_SYS_BOOTMAPSZ
 CONFIG_SYS_BOOTM_LEN
 CONFIG_SYS_BOOT_BLOCK
-CONFIG_SYS_BOOT_RAMDISK_HIGH
 CONFIG_SYS_CACHE_ACR0
 CONFIG_SYS_CACHE_ACR1
 CONFIG_SYS_CACHE_ACR2