diff options
author | Aleksandar Gerasimovski <aleksandar.gerasimovski@hitachi-powergrids.com> | 2021-02-05 06:02:01 +0000 |
---|---|---|
committer | Priyanka Jain <priyanka.jain@nxp.com> | 2021-02-08 14:01:18 +0530 |
commit | a1f57c393380d0245f8740ddf1497902b9f963f8 (patch) | |
tree | c1a9e5203e851c12549d2705639f4d1823b51dfc /include | |
parent | d167667d1b9053534445a1c0748a0739fe3aa944 (diff) | |
download | u-boot-a1f57c393380d0245f8740ddf1497902b9f963f8.zip u-boot-a1f57c393380d0245f8740ddf1497902b9f963f8.tar.gz u-boot-a1f57c393380d0245f8740ddf1497902b9f963f8.tar.bz2 |
board/km: move km i2c deblock declarations to a km/common.h
Cleanup, move the declarations to keymile/common.h instead declaring them
per-board config.h
Signed-off-by: Aleksandar Gerasimovski <aleksandar.gerasimovski@hitachi-powergrids.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/km/km_arm.h | 4 | ||||
-rw-r--r-- | include/configs/kmp204x.h | 6 |
2 files changed, 0 insertions, 10 deletions
diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h index 29060fa..4115906 100644 --- a/include/configs/km/km_arm.h +++ b/include/configs/km/km_arm.h @@ -110,10 +110,6 @@ #include <linux/delay.h> #include <linux/stringify.h> extern void __set_direction(unsigned pin, int high); -void set_sda(int state); -void set_scl(int state); -int get_sda(void); -int get_scl(void); #define KM_KIRKWOOD_SDA_PIN 8 #define KM_KIRKWOOD_SCL_PIN 9 #define KM_KIRKWOOD_SOFT_I2C_GPIOS 0x0300 diff --git a/include/configs/kmp204x.h b/include/configs/kmp204x.h index d1eb7b5..90e3702 100644 --- a/include/configs/kmp204x.h +++ b/include/configs/kmp204x.h @@ -237,12 +237,6 @@ unsigned long get_board_sys_clk(unsigned long dummy); {0, {{I2C_MUX_PCA9547, 0x70, 1 } } }, \ {0, {{I2C_MUX_PCA9547, 0x70, 2 } } }, \ } -#ifndef __ASSEMBLY__ -void set_sda(int state); -void set_scl(int state); -int get_sda(void); -int get_scl(void); -#endif #define CONFIG_KM_IVM_BUS 1 /* I2C1 (Mux-Port 1)*/ |