diff options
author | York Sun <york.sun@nxp.com> | 2017-03-06 09:02:24 -0800 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2017-03-14 08:44:03 -0700 |
commit | f2ccf7f7aacf75bd9c521459d1d20df07d1ebe41 (patch) | |
tree | 2e070deb61f5e223d3b4d3f4433cb4006bdd7590 /cmd | |
parent | 8537ddd769f460d7fb7a62a3dcc9669049702e51 (diff) | |
download | u-boot-f2ccf7f7aacf75bd9c521459d1d20df07d1ebe41.zip u-boot-f2ccf7f7aacf75bd9c521459d1d20df07d1ebe41.tar.gz u-boot-f2ccf7f7aacf75bd9c521459d1d20df07d1ebe41.tar.bz2 |
armv8: Add global variable resv_ram
Use gd->arch.resv_ram to track reserved memory allocation.
Signed-off-by: York Sun <york.sun@nxp.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/bdinfo.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c index ae3027a..19b8fd8 100644 --- a/cmd/bdinfo.c +++ b/cmd/bdinfo.c @@ -392,6 +392,10 @@ static int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, gd->arch.secure_ram & MEM_RESERVE_SECURE_ADDR_MASK); } #endif +#ifdef CONFIG_RESV_RAM + if (gd->arch.resv_ram) + print_num("Reserved ram", gd->arch.resv_ram); +#endif #if defined(CONFIG_CMD_NET) && !defined(CONFIG_DM_ETH) print_eths(); #endif |