diff options
author | Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com> | 2020-02-03 12:14:01 +0530 |
---|---|---|
committer | Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com> | 2020-02-07 19:24:17 +0530 |
commit | fe2293df83641d1b14d1df1ab7cb60ab4a19bfc7 (patch) | |
tree | f0377993fb8c816f4861514336bf91e49be3e414 /plat/arm | |
parent | 2bd5dcb91dd247635500c5d3b9ae6e43cb89caa4 (diff) | |
download | platform_external_arm-trusted-firmware-fe2293df83641d1b14d1df1ab7cb60ab4a19bfc7.tar.gz platform_external_arm-trusted-firmware-fe2293df83641d1b14d1df1ab7cb60ab4a19bfc7.tar.bz2 platform_external_arm-trusted-firmware-fe2293df83641d1b14d1df1ab7cb60ab4a19bfc7.zip |
plat/arm/sgi: move GIC related constants to board files
In preparation for adding support for Reference Design platforms
which have different base addresses for GIC Distributor or
Redistributor, move GIC related base addresses to individual platform
definition files.
Change-Id: Iecf52b4392a30b86905e1cd047c0ff87d59d0191
Signed-off-by: Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>
Diffstat (limited to 'plat/arm')
-rw-r--r-- | plat/arm/board/rde1edge/include/platform_def.h | 5 | ||||
-rw-r--r-- | plat/arm/board/rdn1edge/include/platform_def.h | 5 | ||||
-rw-r--r-- | plat/arm/board/sgi575/include/platform_def.h | 5 | ||||
-rw-r--r-- | plat/arm/css/sgi/include/sgi_base_platform_def.h | 5 |
4 files changed, 15 insertions, 5 deletions
diff --git a/plat/arm/board/rde1edge/include/platform_def.h b/plat/arm/board/rde1edge/include/platform_def.h index abb36018c..3fb640972 100644 --- a/plat/arm/board/rde1edge/include/platform_def.h +++ b/plat/arm/board/rde1edge/include/platform_def.h @@ -36,4 +36,9 @@ #define PLAT_VIRT_ADDR_SPACE_SIZE (1ULL << 32) #endif +/* GIC related constants */ +#define PLAT_ARM_GICD_BASE UL(0x30000000) +#define PLAT_ARM_GICC_BASE UL(0x2C000000) +#define PLAT_ARM_GICR_BASE UL(0x300C0000) + #endif /* PLATFORM_DEF_H */ diff --git a/plat/arm/board/rdn1edge/include/platform_def.h b/plat/arm/board/rdn1edge/include/platform_def.h index 46555f248..ab63e23ec 100644 --- a/plat/arm/board/rdn1edge/include/platform_def.h +++ b/plat/arm/board/rdn1edge/include/platform_def.h @@ -40,4 +40,9 @@ #define PLAT_VIRT_ADDR_SPACE_SIZE (1ULL << 32) #endif +/* GIC related constants */ +#define PLAT_ARM_GICD_BASE UL(0x30000000) +#define PLAT_ARM_GICC_BASE UL(0x2C000000) +#define PLAT_ARM_GICR_BASE UL(0x300C0000) + #endif /* PLATFORM_DEF_H */ diff --git a/plat/arm/board/sgi575/include/platform_def.h b/plat/arm/board/sgi575/include/platform_def.h index 25d24c5b0..95986cf4a 100644 --- a/plat/arm/board/sgi575/include/platform_def.h +++ b/plat/arm/board/sgi575/include/platform_def.h @@ -37,4 +37,9 @@ #define PLAT_VIRT_ADDR_SPACE_SIZE (1ULL << 32) #endif +/* GIC related constants */ +#define PLAT_ARM_GICD_BASE UL(0x30000000) +#define PLAT_ARM_GICC_BASE UL(0x2C000000) +#define PLAT_ARM_GICR_BASE UL(0x300C0000) + #endif /* PLATFORM_DEF_H */ diff --git a/plat/arm/css/sgi/include/sgi_base_platform_def.h b/plat/arm/css/sgi/include/sgi_base_platform_def.h index 7eb3d3c6d..4986378e9 100644 --- a/plat/arm/css/sgi/include/sgi_base_platform_def.h +++ b/plat/arm/css/sgi/include/sgi_base_platform_def.h @@ -157,11 +157,6 @@ MT_DEVICE | MT_RW | MT_SECURE \ ) -/* GIC related constants */ -#define PLAT_ARM_GICD_BASE 0x30000000 -#define PLAT_ARM_GICC_BASE 0x2C000000 -#define PLAT_ARM_GICR_BASE 0x300C0000 - /* Map the secure region for access from S-EL0 */ #define PLAT_ARM_SECURE_MAP_DEVICE MAP_REGION_FLAT( \ SOC_CSS_DEVICE_BASE, \ |