From: Jan Luebbe <jlu@xxxxxxxxxxxxxx> Signed-off-by: Jan Luebbe <jlu@xxxxxxxxxxxxxx> Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- arch/arm/boards/beaglebone/board.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boards/beaglebone/board.c b/arch/arm/boards/beaglebone/board.c index 52b3ec8..e12c70b 100644 --- a/arch/arm/boards/beaglebone/board.c +++ b/arch/arm/boards/beaglebone/board.c @@ -100,11 +100,20 @@ static void beaglebone_eth_init(void) am33xx_add_cpsw(&cpsw_data); } +static struct i2c_board_info i2c0_devices[] = { + { + I2C_BOARD_INFO("24c256", 0x50) + }, +}; + static int beaglebone_devices_init(void) { am33xx_add_mmc0(NULL); am33xx_enable_i2c0_pin_mux(); + i2c_register_board_info(0, i2c0_devices, ARRAY_SIZE(i2c0_devices)); + am33xx_add_i2c0(NULL); + beaglebone_eth_init(); armlinux_set_bootparams((void *)0x80000100); -- 1.8.4.rc3 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox