From 0691484ac1efb1981dfd1b38df9646128bafff32 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Fri, 4 Mar 2016 01:09:45 +0100 Subject: 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 --- include/configs/thunderx_88xx.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include') diff --git a/include/configs/thunderx_88xx.h b/include/configs/thunderx_88xx.h index 4d925ab3a2..dba98ad422 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 -- cgit