diff options
author | H. Nikolaus Schaller <hns@goldelico.com> | 2012-11-20 13:01:02 +0100 |
---|---|---|
committer | H. Nikolaus Schaller <hns@goldelico.com> | 2012-11-20 13:01:02 +0100 |
commit | c562f9b26c9f5abfe5b89c1fbe816e24a705334f (patch) | |
tree | f77f4a0c56be6da34a0577a398beb23cfc4b588b /u-boot/board/goldelico/gta04/commands.c | |
parent | 9e2ea9f36fc1d914d68a112643ba90fc037c3b27 (diff) | |
download | bootable_bootloader_goldelico_gta04-c562f9b26c9f5abfe5b89c1fbe816e24a705334f.zip bootable_bootloader_goldelico_gta04-c562f9b26c9f5abfe5b89c1fbe816e24a705334f.tar.gz bootable_bootloader_goldelico_gta04-c562f9b26c9f5abfe5b89c1fbe816e24a705334f.tar.bz2 |
choose correct I2C bus
Diffstat (limited to 'u-boot/board/goldelico/gta04/commands.c')
-rw-r--r-- | u-boot/board/goldelico/gta04/commands.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/u-boot/board/goldelico/gta04/commands.c b/u-boot/board/goldelico/gta04/commands.c index 45520d2..b65e463 100644 --- a/u-boot/board/goldelico/gta04/commands.c +++ b/u-boot/board/goldelico/gta04/commands.c @@ -595,6 +595,7 @@ static int do_systest(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) return wlanbttest(0); // just power on } if (strncmp ("ch", argv[1], 2) == 0) { + i2c_set_bus_num(TWL4030_I2C_BUS); // I2C1 return twl4030_init_battery_charging(); } if (strncmp ("gp", argv[1], 2) == 0) { |