diff options
| author | Holger Brunck <[email protected]> | 2011-06-05 22:22:20 +0000 |
|---|---|---|
| committer | Wolfgang Denk <[email protected]> | 2011-07-27 23:44:35 +0200 |
| commit | 1adfd9dd3fc1bacc3c3a1fe8790f258916483fce (patch) | |
| tree | a69af47509f929cb1ffbf98555d1d482ade970fc /include | |
| parent | fc9a7441d9a1d450994524e51657a37e880ec198 (diff) | |
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 <[email protected]>
Signed-off-by: Valentin Longchamp <[email protected]>
cc: Heiko Schocher <[email protected]>
cc: Wolfgang Denk <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/configs/km/km82xx-common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/km/km82xx-common.h b/include/configs/km/km82xx-common.h index b89631c8067..0360cd31cea 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 */ |
