summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Nikolaus Schaller <hns@goldelico.com>2012-08-30 12:04:39 +0200
committerH. Nikolaus Schaller <hns@goldelico.com>2012-08-30 12:04:39 +0200
commit2da42947a70cf4d33411162922c6df279353ca55 (patch)
tree29ea775a06bdf9e22dd507eef6155b232f469448
parent349f5495808983f38502573abc69f6f0b7a0ccc2 (diff)
downloadbootable_bootloader_goldelico_gta04-2da42947a70cf4d33411162922c6df279353ca55.zip
bootable_bootloader_goldelico_gta04-2da42947a70cf4d33411162922c6df279353ca55.tar.gz
bootable_bootloader_goldelico_gta04-2da42947a70cf4d33411162922c6df279353ca55.tar.bz2
added test for BMC050
-rw-r--r--u-boot/board/goldelico/gta04/systest.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/u-boot/board/goldelico/gta04/systest.c b/u-boot/board/goldelico/gta04/systest.c
index ece7599..dbd913d 100644
--- a/u-boot/board/goldelico/gta04/systest.c
+++ b/u-boot/board/goldelico/gta04/systest.c
@@ -33,6 +33,7 @@
#include <ns16550.h>
#include "systest.h"
#include "TD028TTEC1.h"
+#include "panel.h"
#include "ulpi-phy.h"
#include "status.h"
#include "tsc2007.h"
@@ -199,8 +200,10 @@ int systest(void)
printf("LIS302 BOTTOM: %s\n", !i2c_probe(0x1d)?"found":"-");
printf("LSM303: %s\n", !i2c_probe(0x19)?"found":"-");
printf("HMC58xx: %s\n", !i2c_probe(0x1e)?"found":"-");
- printf("BMA180: %s\n", !i2c_probe(0x41)?"found":"-");
printf("BMP085: %s\n", !i2c_probe(0x77)?"found":"-");
+ printf("BMA180: %s\n", !i2c_probe(0x41)?"found":"-");
+ printf("BMC050 Accel: %s\n", !i2c_probe(0x18)?"found":"-");
+ printf("BMC050 Mag: %s\n", !i2c_probe(0x10)?"found":"-");
printf("ITG3200: %s\n", !i2c_probe(0x68)?"found":"-");
printf("Si47xx: %s\n", !i2c_probe(0x11)?"found":"-");
printf("TCA8418: %s\n", !i2c_probe(0x34)?"found":"-");
@@ -211,7 +214,7 @@ int systest(void)
i2c_set_bus_num(2); // I2C3
/* nothing to check */
i2c_set_bus_num(TWL4030_I2C_BUS); // I2C1
- if(!jbt_check())
+ if(!panel_check())
printf("DISPLAY: ok\n");
else
printf("DISPLAY: failed\n");