mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-05 02:23:31 +08:00
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");
|
||||
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
|
||||
|
@ -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
|
||||
--------
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user