aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorYork Sun <york.sun@nxp.com>2016-06-24 16:46:18 -0700
committerYork Sun <york.sun@nxp.com>2016-07-15 09:01:43 -0700
commite61a7534e33063a76e105d895e5c6317f2d0cd76 (patch)
tree4dc7e8f638a6b412256c6e052bc9490ac91a7792 /cmd
parent3a592a1349ac3961b0f4f2db0a8d9f128225d897 (diff)
downloadu-boot-e61a7534e33063a76e105d895e5c6317f2d0cd76.zip
u-boot-e61a7534e33063a76e105d895e5c6317f2d0cd76.tar.gz
u-boot-e61a7534e33063a76e105d895e5c6317f2d0cd76.tar.bz2
armv8: Move secure_ram variable out of generic global data
Secure_ram variable was put in generic global data. But only ARMv8 uses this variable. Move it to ARM specific data structure. Signed-off-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/bdinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index 1c4bed9..f2435ab 100644
--- a/cmd/bdinfo.c
+++ b/cmd/bdinfo.c
@@ -385,9 +385,9 @@ static int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc,
}
#ifdef CONFIG_SYS_MEM_RESERVE_SECURE
- if (gd->secure_ram & MEM_RESERVE_SECURE_SECURED) {
+ if (gd->arch.secure_ram & MEM_RESERVE_SECURE_SECURED) {
print_num("Secure ram",
- gd->secure_ram & MEM_RESERVE_SECURE_ADDR_MASK);
+ gd->arch.secure_ram & MEM_RESERVE_SECURE_ADDR_MASK);
}
#endif
#if defined(CONFIG_CMD_NET) && !defined(CONFIG_DM_ETH)