EXYNOS5: define EXYNOS5_I2C_SPACING
authorRajeshwari Shinde <rajeshwari.s@samsung.com>
Mon, 23 Jul 2012 21:23:50 +0000 (21:23 +0000)
committerHeiko Schocher <hs@denx.de>
Tue, 31 Jul 2012 06:02:07 +0000 (08:02 +0200)
This patch defined EXYNOS5_I2C_SPACING used to calculate I2C channel
base address.

Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/arch-exynos/cpu.h

index ab46b70f3020b734a58d4bbbc6cdff8d98adfe60..0e6ea870798781bc0cb3eb6be2b98d3b404680cc 100644 (file)
@@ -58,6 +58,8 @@
 #define EXYNOS4_GPIO_PART4_BASE                DEVICE_NOT_AVAILABLE
 
 /* EXYNOS5 */
+#define EXYNOS5_I2C_SPACING            0x10000
+
 #define EXYNOS5_GPIO_PART4_BASE                0x03860000
 #define EXYNOS5_PRO_ID                 0x10000000
 #define EXYNOS5_CLOCK_BASE             0x10010000