From: Stefano Babic Date: Sun, 21 Aug 2011 08:58:22 +0000 (+0200) Subject: MX5: mx53evk: make use of GPIO framework X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=f7a364745e20c63feaa2a4d2926e92fc2bd7bdc7;p=u-boot.git MX5: mx53evk: make use of GPIO framework Signed-off-by: Stefano Babic CC: Jason Liu --- diff --git a/board/freescale/mx53evk/mx53evk.c b/board/freescale/mx53evk/mx53evk.c index 88095dc7ae..81857ffed3 100644 --- a/board/freescale/mx53evk/mx53evk.c +++ b/board/freescale/mx53evk/mx53evk.c @@ -33,7 +33,7 @@ #include #include #include -#include +#include #include DECLARE_GLOBAL_DATA_PTR; @@ -213,9 +213,9 @@ int board_mmc_getcd(u8 *cd, struct mmc *mmc) struct fsl_esdhc_cfg *cfg = (struct fsl_esdhc_cfg *)mmc->priv; if (cfg->esdhc_base == MMC_SDHC1_BASE_ADDR) - *cd = mxc_gpio_get(77); /*GPIO3_13*/ + *cd = gpio_get_value(77); /*GPIO3_13*/ else - *cd = mxc_gpio_get(75); /*GPIO3_11*/ + *cd = gpio_get_value(75); /*GPIO3_11*/ return 0; }