armv8: Add tlb_allocated to arch global data
authorYork Sun <york.sun@nxp.com>
Fri, 24 Jun 2016 23:46:19 +0000 (16:46 -0700)
committerYork Sun <york.sun@nxp.com>
Fri, 15 Jul 2016 16:01:43 +0000 (09:01 -0700)
commit50e93b95653da44b9743357dfa3701e8482fd167
tree8db0847067eba3dffa8d67bc5ad12a6b3ff2dee0
parente61a7534e33063a76e105d895e5c6317f2d0cd76
armv8: Add tlb_allocated to arch global data

When secure ram is used, MMU tables have to be put into secure ram.
To use common MMU code, gd->arch.tlb_addr will be used to host TLB
entry pointer. To save allocated memory for later use, tlb_allocated
variable is added to global data structure.

Signed-off-by: York Sun <york.sun@nxp.com>
arch/arm/include/asm/global_data.h
common/board_f.c