summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRajeshwari Shinde <rajeshwari.s@samsung.com>2012-07-23 21:23:50 +0000
committerHeiko Schocher <hs@denx.de>2012-07-31 08:02:07 +0200
commit8da3eb1b22f881b72a934b34bf97659f2d1502f0 (patch)
treeb2a8a95a8bb25346d1ec7bc93f90c849bf491766 /arch
parent1a758aec3d4b9bf8e545fa29dcb3c75662ab399c (diff)
downloadu-boot-imx-8da3eb1b22f881b72a934b34bf97659f2d1502f0.zip
u-boot-imx-8da3eb1b22f881b72a934b34bf97659f2d1502f0.tar.gz
u-boot-imx-8da3eb1b22f881b72a934b34bf97659f2d1502f0.tar.bz2
EXYNOS5: define EXYNOS5_I2C_SPACING
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/arch-exynos/cpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-exynos/cpu.h b/arch/arm/include/asm/arch-exynos/cpu.h
index ab46b70..0e6ea87 100644
--- a/arch/arm/include/asm/arch-exynos/cpu.h
+++ b/arch/arm/include/asm/arch-exynos/cpu.h
@@ -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