summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2016-03-04 01:09:45 +0100
committerTom Rini <trini@konsulko.com>2016-03-15 15:12:59 -0400
commit0691484ac1efb1981dfd1b38df9646128bafff32 (patch)
tree34841bd6307df363f2f3783d1a0a219a16b553bf /include
parentdcac8843a8904c939f70489b8dd410cde32b7df5 (diff)
downloadu-boot-imx-0691484ac1efb1981dfd1b38df9646128bafff32.zip
u-boot-imx-0691484ac1efb1981dfd1b38df9646128bafff32.tar.gz
u-boot-imx-0691484ac1efb1981dfd1b38df9646128bafff32.tar.bz2
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.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/configs/thunderx_88xx.h b/include/configs/thunderx_88xx.h
index 4d925ab..dba98ad 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