summaryrefslogtreecommitdiff
path: root/board/freescale/mx53smd
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2011-08-21 10:56:57 +0200
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-09-04 11:36:12 +0200
commit04e25fd6292966982818de5f98247bec130dd4ec (patch)
tree99e5eb2ab0d3379b3d4c961a70738eaea3a9126d /board/freescale/mx53smd
parent00c07fe6926ba27844eb480373bf45d0fcd76dff (diff)
downloadu-boot-imx-04e25fd6292966982818de5f98247bec130dd4ec.zip
u-boot-imx-04e25fd6292966982818de5f98247bec130dd4ec.tar.gz
u-boot-imx-04e25fd6292966982818de5f98247bec130dd4ec.tar.bz2
MX5: mx53smd: make use of GPIO framework
Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'board/freescale/mx53smd')
-rw-r--r--board/freescale/mx53smd/mx53smd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/mx53smd/mx53smd.c b/board/freescale/mx53smd/mx53smd.c
index 21b5d14..4a7ee55 100644
--- a/board/freescale/mx53smd/mx53smd.c
+++ b/board/freescale/mx53smd/mx53smd.c
@@ -31,7 +31,7 @@
#include <netdev.h>
#include <mmc.h>
#include <fsl_esdhc.h>
-#include <mxc_gpio.h>
+#include <asm/gpio.h>
DECLARE_GLOBAL_DATA_PTR;
@@ -139,7 +139,7 @@ struct fsl_esdhc_cfg esdhc_cfg[1] = {
int board_mmc_getcd(u8 *cd, struct mmc *mmc)
{
- *cd = mxc_gpio_get(77); /*GPIO3_13*/
+ *cd = gpio_get_value(77); /*GPIO3_13*/
return 0;
}