mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-09-28 17:21:36 +02:00
ppc: qemu: Drop a custom env variable 'fdt_addr_r'
Now that we have switched to CONFIG_OF_CONTROL, and we can use the env variable 'fdtcontroladdr' directly instead of creating one that is duplicated. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
This commit is contained in:
parent
c8f911cb08
commit
b516dd5af7
@ -168,9 +168,6 @@ int last_stage_init(void)
|
|||||||
if (prop && (len >= 8))
|
if (prop && (len >= 8))
|
||||||
env_set_hex("qemu_kernel_addr", *prop);
|
env_set_hex("qemu_kernel_addr", *prop);
|
||||||
|
|
||||||
/* Give the user a variable for the host fdt */
|
|
||||||
env_set_hex("fdt_addr_r", (ulong)fdt);
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -106,6 +106,6 @@ extern unsigned long long get_phys_ccsrbar_addr_early(void);
|
|||||||
#define CONFIG_LOADADDR 1000000
|
#define CONFIG_LOADADDR 1000000
|
||||||
|
|
||||||
#define CONFIG_BOOTCOMMAND \
|
#define CONFIG_BOOTCOMMAND \
|
||||||
"test -n \"$qemu_kernel_addr\" && bootm $qemu_kernel_addr - $fdt_addr_r\0"
|
"test -n \"$qemu_kernel_addr\" && bootm $qemu_kernel_addr - $fdtcontroladdr\0"
|
||||||
|
|
||||||
#endif /* __QEMU_PPCE500_H */
|
#endif /* __QEMU_PPCE500_H */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user