mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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>
This commit is contained in:
committed by
Tom Rini
parent
c5de07144a
commit
4beca13485
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user