Browse Source

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 <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Marek Vasut 7 years ago
parent
commit
7bcdd0c1f8
3 changed files with 5 additions and 10 deletions
  1. 5 0
      include/configs/rcar-gen3-common.h
  2. 0 5
      include/configs/salvator-x.h
  3. 0 5
      include/configs/ulcb.h

+ 5 - 0
include/configs/rcar-gen3-common.h

@@ -31,6 +31,11 @@
 
 
 #define CONFIG_ARCH_CPU_INIT
 #define CONFIG_ARCH_CPU_INIT
 
 
+/* Generic Interrupt Controller Definitions */
+#define CONFIG_GICV2
+#define GICD_BASE	0xF1010000
+#define GICC_BASE	0xF1020000
+
 /* console */
 /* console */
 #define CONFIG_SYS_CBSIZE		2048
 #define CONFIG_SYS_CBSIZE		2048
 #define CONFIG_SYS_BARGSIZE		CONFIG_SYS_CBSIZE
 #define CONFIG_SYS_BARGSIZE		CONFIG_SYS_CBSIZE

+ 0 - 5
include/configs/salvator-x.h

@@ -42,11 +42,6 @@
 /* Generic Timer Definitions (use in assembler source) */
 /* Generic Timer Definitions (use in assembler source) */
 #define COUNTER_FREQUENCY	0xFE502A	/* 16.66MHz from CPclk */
 #define COUNTER_FREQUENCY	0xFE502A	/* 16.66MHz from CPclk */
 
 
-/* Generic Interrupt Controller Definitions */
-#define CONFIG_GICV2
-#define GICD_BASE	0xF1010000
-#define GICC_BASE	0xF1020000
-
 /* i2c */
 /* i2c */
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_I2C_SH
 #define CONFIG_SYS_I2C_SH

+ 0 - 5
include/configs/ulcb.h

@@ -50,11 +50,6 @@
 /* Generic Timer Definitions (use in assembler source) */
 /* Generic Timer Definitions (use in assembler source) */
 #define COUNTER_FREQUENCY	0xFE502A	/* 16.66MHz from CPclk */
 #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 */
 /* CPLD SPI */
 #define CONFIG_CMD_SPI
 #define CONFIG_CMD_SPI
 #define CONFIG_SOFT_SPI
 #define CONFIG_SOFT_SPI