diff options
author | Lin Ma <lin.ma@caviumnetworks.com> | 2014-06-27 16:56:30 -0700 |
---|---|---|
committer | Dan Handley <dan.handley@arm.com> | 2014-07-09 12:33:33 +0100 |
commit | 73ad2572c886994e9e0418b2a293570efe90b20c (patch) | |
tree | 153c83bc9807bffe3c7455aad4df9ae237469cb9 /lib/stdlib/assert.c | |
parent | dac1235a94f4633b838598fb40e03e350e89f089 (diff) |
Calculate TCR bits based on VA and PA
Currently the TCR bits are hardcoded in xlat_tables.c. In order to
map higher physical address into low virtual address, the TCR bits
need to be configured accordingly.
This patch is to save the max VA and PA and calculate the TCR.PS/IPS
and t0sz bits in init_xlat_tables function.
Change-Id: Ia7a58e5372b20200153057d457f4be5ddbb7dae4
Diffstat (limited to 'lib/stdlib/assert.c')
0 files changed, 0 insertions, 0 deletions