summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-mx27
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2015-05-18 10:58:12 +0200
committerStefano Babic <sbabic@denx.de>2015-05-26 14:17:00 +0200
commite6c8b716c7035fd2b80d0b938e736176053b9ef6 (patch)
tree105766702b9ff40ef12216ebd4ce8e778e7d9144 /arch/arm/include/asm/arch-mx27
parent21a26940f9048e668f9a79f64b802406b2e8d18c (diff)
downloadtalos-obmc-uboot-e6c8b716c7035fd2b80d0b938e736176053b9ef6.tar.gz
talos-obmc-uboot-e6c8b716c7035fd2b80d0b938e736176053b9ef6.zip
i2c, mxc: rework i2c base address names for different SoCs
rework and unify i2c address names for different SoCs, which use the mxc_i2c driver. Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'arch/arm/include/asm/arch-mx27')
-rw-r--r--arch/arm/include/asm/arch-mx27/imx-regs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/include/asm/arch-mx27/imx-regs.h b/arch/arm/include/asm/arch-mx27/imx-regs.h
index 7402e31354..baf1d29cc3 100644
--- a/arch/arm/include/asm/arch-mx27/imx-regs.h
+++ b/arch/arm/include/asm/arch-mx27/imx-regs.h
@@ -184,13 +184,13 @@ struct fuse_bank0_regs {
#define UART2_BASE (0x0b000 + IMX_IO_BASE)
#define UART3_BASE (0x0c000 + IMX_IO_BASE)
#define UART4_BASE (0x0d000 + IMX_IO_BASE)
-#define IMX_I2C1_BASE (0x12000 + IMX_IO_BASE)
+#define I2C1_BASE_ADDR (0x12000 + IMX_IO_BASE)
#define IMX_GPIO_BASE (0x15000 + IMX_IO_BASE)
#define IMX_TIM4_BASE (0x19000 + IMX_IO_BASE)
#define IMX_TIM5_BASE (0x1a000 + IMX_IO_BASE)
#define IMX_UART5_BASE (0x1b000 + IMX_IO_BASE)
#define IMX_UART6_BASE (0x1c000 + IMX_IO_BASE)
-#define IMX_I2C2_BASE (0x1D000 + IMX_IO_BASE)
+#define I2C2_BASE_ADDR (0x1D000 + IMX_IO_BASE)
#define IMX_TIM6_BASE (0x1f000 + IMX_IO_BASE)
#define IMX_AIPI2_BASE (0x20000 + IMX_IO_BASE)
#define IMX_PLL_BASE (0x27000 + IMX_IO_BASE)
OpenPOWER on IntegriCloud