summaryrefslogtreecommitdiff
path: root/arch/arm/mach-davinci/include/mach/i2c_defs.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2015-02-20 17:04:14 +0900
committerTom Rini <trini@ti.com>2015-02-21 08:23:52 -0500
commit3d357619a509eb2b39dc5056731ca08bc2b23e62 (patch)
tree6728bbf4b4a903eec745e1876e24a219427a8f88 /arch/arm/mach-davinci/include/mach/i2c_defs.h
parentaf9308276028924ff7f84770ddbd26bd7046d6c5 (diff)
downloadu-boot-imx-3d357619a509eb2b39dc5056731ca08bc2b23e62.zip
u-boot-imx-3d357619a509eb2b39dc5056731ca08bc2b23e62.tar.gz
u-boot-imx-3d357619a509eb2b39dc5056731ca08bc2b23e62.tar.bz2
ARM: davinci: move SoC headers to mach-davinci/include/mach
Move arch/arm/include/asm/arch-davinci/* -> arch/arm/mach-davinci/include/mach/* Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/include/mach/i2c_defs.h')
-rw-r--r--arch/arm/mach-davinci/include/mach/i2c_defs.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/include/mach/i2c_defs.h b/arch/arm/mach-davinci/include/mach/i2c_defs.h
new file mode 100644
index 0000000..06da894
--- /dev/null
+++ b/arch/arm/mach-davinci/include/mach/i2c_defs.h
@@ -0,0 +1,18 @@
+/*
+ * (C) Copyright 2004-2014
+ * Texas Instruments, <www.ti.com>
+ *
+ * Some changes copyright (C) 2007 Sergey Kubushyn <ksi@koi8.net>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+#ifndef _I2C_DEFS_H_
+#define _I2C_DEFS_H_
+
+#ifndef CONFIG_SOC_DA8XX
+#define I2C_BASE 0x01c21000
+#else
+#define I2C_BASE 0x01c22000
+#endif
+
+#endif