summaryrefslogtreecommitdiff
path: root/board/freescale/qemu-ppce500/qemu-ppce500.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale/qemu-ppce500/qemu-ppce500.c')
-rw-r--r--board/freescale/qemu-ppce500/qemu-ppce500.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/qemu-ppce500/qemu-ppce500.c b/board/freescale/qemu-ppce500/qemu-ppce500.c
index 0c65ec72d2..cf5023c505 100644
--- a/board/freescale/qemu-ppce500/qemu-ppce500.c
+++ b/board/freescale/qemu-ppce500/qemu-ppce500.c
@@ -211,10 +211,10 @@ int last_stage_init(void)
/* -kernel boot */
prop = fdt_getprop(fdt, chosen, "qemu,boot-kernel", &len);
if (prop && (len >= 8))
- setenv_hex("qemu_kernel_addr", *prop);
+ env_set_hex("qemu_kernel_addr", *prop);
/* Give the user a variable for the host fdt */
- setenv_hex("fdt_addr_r", (ulong)fdt);
+ env_set_hex("fdt_addr_r", (ulong)fdt);
return 0;
}