forked from OERV-BSP/u-boot
lpc32xx: ea-lpc3250devkitv2: enable i2c (DM)
Enable a DMed i2c driver for the ea-lpc3250devkitv2 board. Include some sample commands/output for testing. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
This commit is contained in:
@@ -19,6 +19,10 @@ int
|
||||
board_early_init_f(void)
|
||||
{
|
||||
lpc32xx_uart_init(CONFIG_CONS_INDEX);
|
||||
if (IS_ENABLED(CONFIG_SYS_I2C_LPC32XX)) {
|
||||
lpc32xx_i2c_init(1);
|
||||
lpc32xx_i2c_init(2);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user