From: Marek Vasut Date: Tue, 28 Nov 2017 07:25:21 +0000 (+0100) Subject: ARM: rmobile: Clean up GIC macros X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=7bcdd0c1f82edfcfb4de1c5d5953d9e0954371d2;p=u-boot.git ARM: rmobile: Clean up GIC macros Pull out the GIC macros from the board configuration files into the common Gen3 configuration file since these macros are the same for all Gen3 systems. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- diff --git a/include/configs/rcar-gen3-common.h b/include/configs/rcar-gen3-common.h index 6deed0dcd7..dd6863e64e 100644 --- a/include/configs/rcar-gen3-common.h +++ b/include/configs/rcar-gen3-common.h @@ -31,6 +31,11 @@ #define CONFIG_ARCH_CPU_INIT +/* Generic Interrupt Controller Definitions */ +#define CONFIG_GICV2 +#define GICD_BASE 0xF1010000 +#define GICC_BASE 0xF1020000 + /* console */ #define CONFIG_SYS_CBSIZE 2048 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE diff --git a/include/configs/salvator-x.h b/include/configs/salvator-x.h index 8616b36ecc..5004fa31b6 100644 --- a/include/configs/salvator-x.h +++ b/include/configs/salvator-x.h @@ -42,11 +42,6 @@ /* Generic Timer Definitions (use in assembler source) */ #define COUNTER_FREQUENCY 0xFE502A /* 16.66MHz from CPclk */ -/* Generic Interrupt Controller Definitions */ -#define CONFIG_GICV2 -#define GICD_BASE 0xF1010000 -#define GICC_BASE 0xF1020000 - /* i2c */ #define CONFIG_SYS_I2C #define CONFIG_SYS_I2C_SH diff --git a/include/configs/ulcb.h b/include/configs/ulcb.h index a4795c5ff3..41ba5972a6 100644 --- a/include/configs/ulcb.h +++ b/include/configs/ulcb.h @@ -50,11 +50,6 @@ /* Generic Timer Definitions (use in assembler source) */ #define COUNTER_FREQUENCY 0xFE502A /* 16.66MHz from CPclk */ -/* Generic Interrupt Controller Definitions */ -#define CONFIG_GICV2 -#define GICD_BASE 0xF1010000 -#define GICC_BASE 0xF1020000 - /* CPLD SPI */ #define CONFIG_CMD_SPI #define CONFIG_SOFT_SPI