diff options
author | York Sun <york.sun@nxp.com> | 2016-06-24 16:46:18 -0700 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2016-07-15 09:01:43 -0700 |
commit | e61a7534e33063a76e105d895e5c6317f2d0cd76 (patch) | |
tree | 4dc7e8f638a6b412256c6e052bc9490ac91a7792 /common | |
parent | 3a592a1349ac3961b0f4f2db0a8d9f128225d897 (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/board_f.c b/common/board_f.c index d405b5b407e..0fc96bd4c6c 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 |