summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHolger Brunck <holger.brunck@keymile.com>2011-06-05 22:22:20 +0000
committerWolfgang Denk <wd@denx.de>2011-07-27 23:44:35 +0200
commit1adfd9dd3fc1bacc3c3a1fe8790f258916483fce (patch)
treea69af47509f929cb1ffbf98555d1d482ade970fc /include
parentfc9a7441d9a1d450994524e51657a37e880ec198 (diff)
downloadu-boot-imx-1adfd9dd3fc1bacc3c3a1fe8790f258916483fce.zip
u-boot-imx-1adfd9dd3fc1bacc3c3a1fe8790f258916483fce.tar.gz
u-boot-imx-1adfd9dd3fc1bacc3c3a1fe8790f258916483fce.tar.bz2
powerpc/km82xx: remove 82xx specific functions from common.c
Common code should be valid for more than one architecture, therefore the km82xx specific code was removed from common.c. Signed-off-by: Holger Brunck <holger.brunck@keymile.com> Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com> cc: Heiko Schocher <hs@denx.de> cc: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/configs/km/km82xx-common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/km/km82xx-common.h b/include/configs/km/km82xx-common.h
index b89631c..0360cd3 100644
--- a/include/configs/km/km82xx-common.h
+++ b/include/configs/km/km82xx-common.h
@@ -139,6 +139,13 @@
} while (0)
#define I2C_DELAY udelay(5) /* 1/4 I2C clock duration */
+#ifndef __ASSEMBLY__
+void set_sda(int state);
+void set_scl(int state);
+int get_sda(void);
+int get_scl(void);
+#endif
+
/* I2C SYSMON (LM75, AD7414 is almost compatible) */
#define CONFIG_DTT_LM75 /* ON Semi's LM75 */
#define CONFIG_DTT_SENSORS {0} /* Sensor addresses */