global: Migrate CONFIG_RAMDISK_ADDR to CFG
Perform a simple rename of CONFIG_RAMDISK_ADDR to CFG_RAMDISK_ADDR Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
62350c72d4
commit
d4c8dd1e6f
@ -130,8 +130,8 @@ static int qemu_fwcfg_do_load(struct cmd_tbl *cmdtp, int flag,
|
|||||||
env = env_get("ramdiskaddr");
|
env = env_get("ramdiskaddr");
|
||||||
initrd_addr = env ?
|
initrd_addr = env ?
|
||||||
(void *)hextoul(env, NULL) :
|
(void *)hextoul(env, NULL) :
|
||||||
#ifdef CONFIG_RAMDISK_ADDR
|
#ifdef CFG_RAMDISK_ADDR
|
||||||
(void *)CONFIG_RAMDISK_ADDR;
|
(void *)CFG_RAMDISK_ADDR;
|
||||||
#else
|
#else
|
||||||
NULL;
|
NULL;
|
||||||
#endif
|
#endif
|
||||||
|
@ -31,7 +31,7 @@ kernel_addr
|
|||||||
initrd_addr
|
initrd_addr
|
||||||
address to which the file specified by the -initrd parameter of QEMU shall
|
address to which the file specified by the -initrd parameter of QEMU shall
|
||||||
be loaded. Defaults to environment variable *ramdiskaddr* and further to
|
be loaded. Defaults to environment variable *ramdiskaddr* and further to
|
||||||
the value of *CONFIG_RAMDISK_ADDR*.
|
the value of *CFG_RAMDISK_ADDR*.
|
||||||
|
|
||||||
Examples
|
Examples
|
||||||
--------
|
--------
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/* Default environment */
|
/* Default environment */
|
||||||
#define CONFIG_RAMDISK_ADDR 0x4000000
|
#define CFG_RAMDISK_ADDR 0x4000000
|
||||||
#if defined(CONFIG_GENERATE_ACPI_TABLE) || defined(CONFIG_EFI_STUB)
|
#if defined(CONFIG_GENERATE_ACPI_TABLE) || defined(CONFIG_EFI_STUB)
|
||||||
#define CFG_OTHBOOTARGS "othbootargs=\0"
|
#define CFG_OTHBOOTARGS "othbootargs=\0"
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user