diff options
author | Alexander Graf | 2016-03-04 01:09:45 +0100 |
---|---|---|
committer | Tom Rini | 2016-03-15 15:12:59 -0400 |
commit | 0691484ac1efb1981dfd1b38df9646128bafff32 (patch) | |
tree | 34841bd6307df363f2f3783d1a0a219a16b553bf /include | |
parent | dcac8843a8904c939f70489b8dd410cde32b7df5 (diff) |
thunderx: Calculate TCR dynamically
Based on the memory map we can determine a lot of hard coded fields of
TCR, like the maximum VA and max PA we want to support. Calculate those
dynamically to reduce the chance for pit falls.
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/thunderx_88xx.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/configs/thunderx_88xx.h b/include/configs/thunderx_88xx.h index 4d925ab3a2e..dba98ad422c 100644 --- a/include/configs/thunderx_88xx.h +++ b/include/configs/thunderx_88xx.h @@ -50,9 +50,6 @@ #define CONFIG_SYS_PGTABLE_SIZE \ ((CONFIG_SYS_PTL1_ENTRIES + \ CONFIG_SYS_MEM_MAP_SIZE * CONFIG_SYS_PTL2_ENTRIES) * 8) -#define CONFIG_SYS_TCR_EL1_IPS_BITS (5UL << 32) -#define CONFIG_SYS_TCR_EL2_IPS_BITS (5 << 16) -#define CONFIG_SYS_TCR_EL3_IPS_BITS (5 << 16) /* Link Definitions */ #define CONFIG_SYS_TEXT_BASE 0x00500000 |