global: Migrate CONFIG_RAMDISK_ADDR to CFG
authorTom Rini <trini@konsulko.com>
Sun, 4 Dec 2022 15:13:39 +0000 (10:13 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 23 Dec 2022 15:15:11 +0000 (10:15 -0500)
Perform a simple rename of CONFIG_RAMDISK_ADDR to CFG_RAMDISK_ADDR

Signed-off-by: Tom Rini <trini@konsulko.com>
cmd/qfw.c
doc/usage/cmd/qfw.rst
include/configs/x86-common.h

index 95ddc4b..0c49c60 100644 (file)
--- a/cmd/qfw.c
+++ b/cmd/qfw.c
@@ -130,8 +130,8 @@ static int qemu_fwcfg_do_load(struct cmd_tbl *cmdtp, int flag,
        env = env_get("ramdiskaddr");
        initrd_addr = env ?
                (void *)hextoul(env, NULL) :
-#ifdef CONFIG_RAMDISK_ADDR
-               (void *)CONFIG_RAMDISK_ADDR;
+#ifdef CFG_RAMDISK_ADDR
+               (void *)CFG_RAMDISK_ADDR;
 #else
                NULL;
 #endif
index b3704b9..cc0e27c 100644 (file)
@@ -31,7 +31,7 @@ kernel_addr
 initrd_addr
     address to which the file specified by the -initrd parameter of QEMU shall
     be loaded. Defaults to environment variable *ramdiskaddr* and further to
-    the value of *CONFIG_RAMDISK_ADDR*.
+    the value of *CFG_RAMDISK_ADDR*.
 
 Examples
 --------
index 5d461e8..f421ec5 100644 (file)
@@ -25,7 +25,7 @@
  */
 
 /* Default environment */
-#define CONFIG_RAMDISK_ADDR    0x4000000
+#define CFG_RAMDISK_ADDR       0x4000000
 #if defined(CONFIG_GENERATE_ACPI_TABLE) || defined(CONFIG_EFI_STUB)
 #define CFG_OTHBOOTARGS        "othbootargs=\0"
 #else