From bd3bb8ef3d42137306fb74f5feafcba8f1859514 Mon Sep 17 00:00:00 2001 From: "H. Nikolaus Schaller" Date: Mon, 3 Dec 2012 17:10:18 +0100 Subject: removed enabling display power from GPS driver; reset to I1C2 when programming the TPS --- u-boot/board/goldelico/gta04/gps.c | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/u-boot/board/goldelico/gta04/gps.c b/u-boot/board/goldelico/gta04/gps.c index 3ac5424..9db3e31 100644 --- a/u-boot/board/goldelico/gta04/gps.c +++ b/u-boot/board/goldelico/gta04/gps.c @@ -46,19 +46,12 @@ #endif +#define TWL4030_I2C_BUS (1-1) // I2C1 + int gps_init(void) { - extern int get_board_revision(void); -#define REVISION_XM 0 - if(get_board_revision() == REVISION_XM) { - /* Set VAUX1 to 3.3V for GTA04E display board */ - twl4030_pmrecv_vsel_cfg(TWL4030_PM_RECEIVER_VAUX1_DEDICATED, - /*TWL4030_PM_RECEIVER_VAUX1_VSEL_33*/ 0x07, - TWL4030_PM_RECEIVER_VAUX1_DEV_GRP, - TWL4030_PM_RECEIVER_DEV_GRP_P1); - udelay(5000); - } #ifdef CONFIG_OMAP3_GTA04 + i2c_set_bus_num(TWL4030_I2C_BUS); /* ext. GPS Ant VSIM = 2.8 V (3.0V) */ twl4030_pmrecv_vsel_cfg(TWL4030_PM_RECEIVER_VSIM_DEDICATED, /*TWL4030_PM_RECEIVER_VSIM_VSEL_28*/ 0x04 /* 0x05 */, -- cgit v1.1