summaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/bootm.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-09-07 14:31:00 -0400
committerTom Rini <trini@konsulko.com>2020-09-07 14:31:00 -0400
commit314b9b4a38befd120ce1c566d9eea8e0ec9d8336 (patch)
tree928486047400278e4a08469cd61a94aba690e868 /arch/powerpc/lib/bootm.c
parent96d66a9b8ce11aae9f8bef5244b83b4740b37644 (diff)
parentbac9da46c57511e574aa7e763e17fdd6f55db5bb (diff)
Merge branch 'remove-config-nr-dram-banks-v9-2020-08-26' of https://gitlab.denx.de/u-boot/custodians/u-boot-marvell into next
Diffstat (limited to 'arch/powerpc/lib/bootm.c')
-rw-r--r--arch/powerpc/lib/bootm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/lib/bootm.c b/arch/powerpc/lib/bootm.c
index 8c8ed99cd34..b903e6ec8dc 100644
--- a/arch/powerpc/lib/bootm.c
+++ b/arch/powerpc/lib/bootm.c
@@ -298,8 +298,8 @@ void boot_prep_vxworks(bootm_headers_t *images)
if (!images->ft_addr)
return;
- base = (u64)gd->bd->bi_memstart;
- size = (u64)gd->bd->bi_memsize;
+ base = (u64)gd->ram_base;
+ size = (u64)gd->ram_size;
off = fdt_path_offset(images->ft_addr, "/memory");
if (off < 0)