aboutsummaryrefslogtreecommitdiff
path: root/common
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 /common
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 'common')
-rw-r--r--common/board_f.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/board_f.c b/common/board_f.c
index d405b5b..0fc96bd 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -339,7 +339,7 @@ static int setup_dest_addr(void)
* Record secure memory location. Need recalcuate if memory splits
* into banks, or the ram base is not zero.
*/
- gd->secure_ram = gd->ram_size;
+ gd->arch.secure_ram = gd->ram_size;
#endif
/*
* Subtract specified amount of memory to hide so that it won't