From ac9535dbba6aba13e2a4880b1b9135d76448456a Mon Sep 17 00:00:00 2001 From: "H. Nikolaus Schaller" Date: Mon, 3 Dec 2012 17:13:38 +0100 Subject: harmonized I2C bus numbering code --- u-boot/board/goldelico/gta04/gta04.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/u-boot/board/goldelico/gta04/gta04.c b/u-boot/board/goldelico/gta04/gta04.c index 92df3ef..95865dd 100644 --- a/u-boot/board/goldelico/gta04/gta04.c +++ b/u-boot/board/goldelico/gta04/gta04.c @@ -149,7 +149,7 @@ int misc_init_r(void) * have oscillated until the battery is available * this makes the ITG3200 Power On Reset fail */ - i2c_set_bus_num(1); // I2C2 + i2c_set_bus_num(TCA6507_BUS); // I2C2 udelay(10*1000); // wait a little until power stabilizes if(i2c_probe(0x68)) { // ITG3200 does not respond printf("ITG3200 does not respond\n"); -- cgit v1.1