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 /cmd | |
parent | f120aa7522fafa7606ae28693cc6f29be12e4887 (diff) | |
download | u-boot-e207f2256f1fc3d0616608ab75e7dace15b0f9e6.tar.gz |
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 'cmd')
-rw-r--r-- | cmd/bedbug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/bedbug.c b/cmd/bedbug.c index 81ce256480..684e4a9ea5 100644 --- a/cmd/bedbug.c +++ b/cmd/bedbug.c @@ -348,7 +348,7 @@ int do_bedbug_stack(struct cmd_tbl *cmdtp, int flag, int argc, return 1; } - top = gd->bd->bi_memstart + gd->bd->bi_memsize; + top = gd->ram_start + gd->ram_size; depth = 0; printf ("Depth PC\n"); |