diff options
author | Stefan Roese <sr@denx.de> | 2020-08-12 13:16:36 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2020-08-26 09:19:34 +0200 |
commit | e207f2256f1fc3d0616608ab75e7dace15b0f9e6 (patch) | |
tree | b30a56d09497505d7ed4fa711c87f339816b076a /arch/powerpc/lib/bootm.c | |
parent | f120aa7522fafa7606ae28693cc6f29be12e4887 (diff) | |
download | u-boot-e207f2256f1fc3d0616608ab75e7dace15b0f9e6.tar.gz u-boot-e207f2256f1fc3d0616608ab75e7dace15b0f9e6.tar.bz2 u-boot-e207f2256f1fc3d0616608ab75e7dace15b0f9e6.zip |
global: Move from bi_memstart/memsize -> gd->ram_base/ram_size
With the planned removal of bi_memstart & bi_memsize, this patch now
moves the references to the better suiting gd->ram_base/ram_size
variables.
Signed-off-by: Stefan Roese <sr@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/powerpc/lib/bootm.c')
-rw-r--r-- | arch/powerpc/lib/bootm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/lib/bootm.c b/arch/powerpc/lib/bootm.c index 8c8ed99cd3..b903e6ec8d 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) |