summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Nikolaus Schaller <hns@goldelico.com>2012-04-29 20:06:36 +0200
committerH. Nikolaus Schaller <hns@goldelico.com>2012-04-29 20:06:36 +0200
commit19a5e7041fdf94211c72091ecdab1c9cfad59617 (patch)
tree6fea4c568501852b5b834b9114a754b677e96650
parent14f51caf7cf14ce522388908f1623be1efd9ae93 (diff)
downloadbootable_bootloader_goldelico_gta04-19a5e7041fdf94211c72091ecdab1c9cfad59617.zip
bootable_bootloader_goldelico_gta04-19a5e7041fdf94211c72091ecdab1c9cfad59617.tar.gz
bootable_bootloader_goldelico_gta04-19a5e7041fdf94211c72091ecdab1c9cfad59617.tar.bz2
fixed address of TCA8418 in systest command
-rw-r--r--u-boot/board/goldelico/gta04/systest.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/u-boot/board/goldelico/gta04/systest.c b/u-boot/board/goldelico/gta04/systest.c
index 5df301c..9afdadb 100644
--- a/u-boot/board/goldelico/gta04/systest.c
+++ b/u-boot/board/goldelico/gta04/systest.c
@@ -42,6 +42,7 @@
int bt_hci(int msg)
{
+#ifdef CONFIG_SYS_NS16550_COM1
#define MODE_X_DIV 16
int baudrate=9600;
int divisor=(CONFIG_SYS_NS16550_CLK + (baudrate * (MODE_X_DIV / 2))) / (MODE_X_DIV * baudrate);
@@ -140,6 +141,7 @@ int bt_hci(int msg)
}
if(msg)
printf("\n");
+#endif
return 1;
}
@@ -201,7 +203,7 @@ int systest(void)
printf("BMP085: %s\n", !i2c_probe(0x77)?"found":"-");
printf("ITG3200: %s\n", !i2c_probe(0x68)?"found":"-");
printf("Si47xx: %s\n", !i2c_probe(0x11)?"found":"-");
- printf("TCA8418: %s\n", !i2c_probe(0x64)?"found":"-");
+ printf("TCA8418: %s\n", !i2c_probe(0x34)?"found":"-");
printf("OV9655: %s\n", !i2c_probe(0x30)?"found":"-");
printf("TPS61050: %s\n", !i2c_probe(0x33)?"found":"-");
printf("EEPROM: %s\n", !i2c_probe(0x50)?"found":"-");
@@ -834,7 +836,7 @@ int gpiotest(void)
if(i == j)
printf("GPIO %d (%s) floating\n", g, n); // follows our own pull-up/down
else if(!follows)
- printf("GPIO %d (%s) weakly follows GPIO %d (%s)\n", g, n, gj, nj, gpiotable[j].inputonly?" (strong not tested)":""); // -> GPIOs are connected with low to high resistance
+ printf("GPIO %d (%s) weakly follows GPIO %d (%s)%s\n", g, n, gj, nj, gpiotable[j].inputonly?" (strong not tested)":""); // -> GPIOs are connected with low to high resistance
}
else if(i == j && !stuck)
{