summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2024-07-20 01:24:22 +0200
committerTom Rini <trini@konsulko.com>2024-07-23 10:38:20 -0600
commit4beca13485d8f584703bb41f65b18a60c19273db (patch)
tree3d70fca8b03317f033bee89933848a10195f5130 /include
parentc5de07144af2747a0951423c8a34e350ae8dc045 (diff)
downloadu-boot-4beca13485d8f584703bb41f65b18a60c19273db.tar.gz
u-boot-4beca13485d8f584703bb41f65b18a60c19273db.tar.bz2
u-boot-4beca13485d8f584703bb41f65b18a60c19273db.zip
board: keymile: convert to CONFIG_DM_I2C
The conversion to DM_I2C is mandatory, rework to remove use of legacy I2C API. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Aleksandar Gerasimovski <aleksandar.gerasimovski@hitachienergy.com> Cc: Holger Brunck <holger.brunck@hitachienergy.com> Cc: Tomas Alvarez Vanoli <tomas.alvarez-vanoli@hitachienergy.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/configs/km/pg-wcom-ls102xa.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/configs/km/pg-wcom-ls102xa.h b/include/configs/km/pg-wcom-ls102xa.h
index 15ef68a050..3a243d789c 100644
--- a/include/configs/km/pg-wcom-ls102xa.h
+++ b/include/configs/km/pg-wcom-ls102xa.h
@@ -145,19 +145,6 @@
*/
#define CFG_SYS_NS16550_CLK get_serial_clock()
-/*
- * I2C
- */
-
-#define CFG_SYS_I2C_MAX_HOPS 1
-#define CFG_SYS_NUM_I2C_BUSES 3
-#define I2C_MUX_PCA_ADDR 0x70
-#define I2C_MUX_CH_DEFAULT 0x0
-#define CFG_SYS_I2C_BUSES { {0, {I2C_NULL_HOP} }, \
- {0, {{I2C_MUX_PCA9547, 0x70, 1 } } }, \
- {1, {I2C_NULL_HOP} }, \
- }
-
#define CFG_SMP_PEN_ADDR 0x01ee0200
#define HWCONFIG_BUFFER_SIZE 256