From 6ed032c9ea0bd0a9247b5e5bc9f0be0e0d98c4b5 Mon Sep 17 00:00:00 2001 From: "H. Nikolaus Schaller" Date: Sun, 14 Jul 2013 11:52:25 +0200 Subject: fixed minor issue with mirror test command --- u-boot/board/goldelico/gta04/status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/u-boot/board/goldelico/gta04/status.c b/u-boot/board/goldelico/gta04/status.c index 659061f..f8483b9 100644 --- a/u-boot/board/goldelico/gta04/status.c +++ b/u-boot/board/goldelico/gta04/status.c @@ -162,7 +162,7 @@ int status_get_buttons(void) u8 val; i2c_set_bus_num(TWL4030_I2C_BUS); // read I2C1 twl4030_i2c_read_u8(TWL4030_CHIP_PM_MASTER, &val, TWL4030_PM_MASTER_STS_HW_CONDITIONS); // read state of power button (bit 0) from TPS65950 - status |= (val&0x01) != 0; + status |= (((val&0x01) != 0) << 3); } if(GPIO_PENIRQ >= 0) status |= ((!omap_get_gpio_datain(GPIO_PENIRQ)) << 4); -- cgit v1.1