From 1adfd9dd3fc1bacc3c3a1fe8790f258916483fce Mon Sep 17 00:00:00 2001 From: Holger Brunck Date: Sun, 5 Jun 2011 22:22:20 +0000 Subject: 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 Signed-off-by: Valentin Longchamp cc: Heiko Schocher cc: Wolfgang Denk --- include/configs/km/km82xx-common.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/configs/km') 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 */ -- cgit v1.1