ARM: rmobile: Move address of IICDVFS(I2C) to rcar-gen3-base.h
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Sat, 13 May 2017 16:47:30 +0000 (01:47 +0900)
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Mon, 22 May 2017 06:07:31 +0000 (15:07 +0900)
The IICDVFS(I2C) set in r8a7796.h is common in rcar-gen3.
This moves CONFIG_SYS_I2C_SH_BASE0 in rcar-gen3-base.h.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
arch/arm/mach-rmobile/include/mach/r8a7796.h
arch/arm/mach-rmobile/include/mach/rcar-gen3-base.h

index a7d1ba2..dab6082 100644 (file)
@@ -33,7 +33,4 @@
 #define CONFIG_SYS_SH_SDHI3_BASE 0xEE160000    /* either MMC1 */
 #define CONFIG_SYS_SH_SDHI_NR_CHANNEL 4
 
-/* SH-I2C */
-#define CONFIG_SYS_I2C_SH_BASE0        0xE60B0000
-
 #endif /* __ASM_ARCH_R8A7796_H */
index fbd87c4..c197642 100644 (file)
@@ -79,6 +79,9 @@
 #define PUEN_USB1_OVC   (1 << 2)
 #define PUEN_USB1_PWEN  (1 << 1)
 
+/* IICDVFS (I2C) */
+#define CONFIG_SYS_I2C_SH_BASE0        0xE60B0000
+
 #ifndef __ASSEMBLY__
 #include <asm/types.h>