diff --git a/include/plat/arm/common/arm_def.h b/include/plat/arm/common/arm_def.h index 377bfaa..a22e64a 100644 --- a/include/plat/arm/common/arm_def.h +++ b/include/plat/arm/common/arm_def.h @@ -173,10 +173,6 @@ #define ARM_CONSOLE_BAUDRATE 115200 -/* TZC related constants */ -#define ARM_TZC_BASE 0x2a4a0000 - - /****************************************************************************** * Required platform porting definitions common to all ARM standard platforms *****************************************************************************/ diff --git a/include/plat/arm/css/common/css_def.h b/include/plat/arm/css/common/css_def.h index 157a22f..e5005b9 100644 --- a/include/plat/arm/css/common/css_def.h +++ b/include/plat/arm/css/common/css_def.h @@ -111,6 +111,6 @@ /* TZC related constants */ #define PLAT_ARM_TZC_FILTERS REG_ATTR_FILTER_BIT_ALL - +#define PLAT_ARM_TZC_BASE 0x2a4a0000 #endif /* __CSS_DEF_H__ */ diff --git a/plat/arm/board/fvp/include/platform_def.h b/plat/arm/board/fvp/include/platform_def.h index c2a7d6a..9f42fd2 100644 --- a/plat/arm/board/fvp/include/platform_def.h +++ b/plat/arm/board/fvp/include/platform_def.h @@ -100,6 +100,7 @@ * Give access to the CPUs and Virtio. Some devices * would normally use the default ID so allow that too. */ +#define PLAT_ARM_TZC_BASE 0x2a4a0000 #define PLAT_ARM_TZC_FILTERS REG_ATTR_FILTER_BIT(0) #define PLAT_ARM_TZC_NS_DEV_ACCESS ( \ diff --git a/plat/arm/common/arm_security.c b/plat/arm/common/arm_security.c index 8bee4fe..990d8d4 100644 --- a/plat/arm/common/arm_security.c +++ b/plat/arm/common/arm_security.c @@ -47,7 +47,7 @@ { INFO("Configuring TrustZone Controller\n"); - tzc_init(ARM_TZC_BASE); + tzc_init(PLAT_ARM_TZC_BASE); /* Disable filters. */ tzc_disable_filters();