From 2da42947a70cf4d33411162922c6df279353ca55 Mon Sep 17 00:00:00 2001 From: "H. Nikolaus Schaller" Date: Thu, 30 Aug 2012 12:04:39 +0200 Subject: added test for BMC050 --- u-boot/board/goldelico/gta04/systest.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'u-boot') 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 #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"); -- cgit v1.1