aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2021-02-25 17:22:56 +0800
committerPriyanka Jain <priyanka.jain@nxp.com>2021-03-05 10:25:44 +0530
commitb516dd5af714dabff5e0b20a280a0f0ec91dcecb (patch)
treefbeee6b7fb3942ebe98d7ab372f4b65570b216d4
parentc8f911cb08fcb6216424be5a6904a1ed237c4318 (diff)
downloadu-boot-b516dd5af714dabff5e0b20a280a0f0ec91dcecb.zip
u-boot-b516dd5af714dabff5e0b20a280a0f0ec91dcecb.tar.gz
u-boot-b516dd5af714dabff5e0b20a280a0f0ec91dcecb.tar.bz2
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>
-rw-r--r--board/freescale/qemu-ppce500/qemu-ppce500.c3
-rw-r--r--include/configs/qemu-ppce500.h2
2 files changed, 1 insertions, 4 deletions
diff --git a/board/freescale/qemu-ppce500/qemu-ppce500.c b/board/freescale/qemu-ppce500/qemu-ppce500.c
index 480776a..202b7f6 100644
--- a/board/freescale/qemu-ppce500/qemu-ppce500.c
+++ b/board/freescale/qemu-ppce500/qemu-ppce500.c
@@ -168,9 +168,6 @@ int last_stage_init(void)
if (prop && (len >= 8))
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;
}
diff --git a/include/configs/qemu-ppce500.h b/include/configs/qemu-ppce500.h
index 7c65e64..b2e1204 100644
--- a/include/configs/qemu-ppce500.h
+++ b/include/configs/qemu-ppce500.h
@@ -106,6 +106,6 @@ extern unsigned long long get_phys_ccsrbar_addr_early(void);
#define CONFIG_LOADADDR 1000000
#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 */