summaryrefslogtreecommitdiff
path: root/board/bachmann/ot1200/ot1200.c
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2014-11-14 13:53:49 -0500
committerTom Rini <trini@ti.com>2014-11-14 13:53:49 -0500
commit45043cf804763d4cf93fec93d8294e385f87622a (patch)
tree6f8153477648689f4143c317449891818b78b5e6 /board/bachmann/ot1200/ot1200.c
parent0d485b9095328cdc81b2ee94ff59b988c69b9127 (diff)
parent05d492a3235df397da6200294ea2a802749372a8 (diff)
downloadu-boot-imx-45043cf804763d4cf93fec93d8294e385f87622a.zip
u-boot-imx-45043cf804763d4cf93fec93d8294e385f87622a.tar.gz
u-boot-imx-45043cf804763d4cf93fec93d8294e385f87622a.tar.bz2
Merge branch 'master' of git://www.denx.de/git/u-boot-imx
Diffstat (limited to 'board/bachmann/ot1200/ot1200.c')
-rw-r--r--board/bachmann/ot1200/ot1200.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/bachmann/ot1200/ot1200.c b/board/bachmann/ot1200/ot1200.c
index 2ed8cf7..007c1ef 100644
--- a/board/bachmann/ot1200/ot1200.c
+++ b/board/bachmann/ot1200/ot1200.c
@@ -159,8 +159,8 @@ int board_mmc_getcd(struct mmc *mmc)
gpio_direction_input(IMX_GPIO_NR(4, 5));
ret = gpio_get_value(IMX_GPIO_NR(4, 5));
} else {
- gpio_direction_input(IMX_GPIO_NR(1, 4));
- ret = !gpio_get_value(IMX_GPIO_NR(1, 4));
+ gpio_direction_input(IMX_GPIO_NR(1, 5));
+ ret = !gpio_get_value(IMX_GPIO_NR(1, 5));
}
return ret;