diff options
author | Stefano Babic <sbabic@denx.de> | 2011-08-21 10:58:22 +0200 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-09-04 11:36:12 +0200 |
commit | f7a364745e20c63feaa2a4d2926e92fc2bd7bdc7 (patch) | |
tree | d98c01ffc68d100ea79410ab1e329d2efddb5de6 /board/freescale/mx53evk | |
parent | 4c0443c41fee7520c960d3394b0d3fc65c5b4756 (diff) | |
download | u-boot-imx-f7a364745e20c63feaa2a4d2926e92fc2bd7bdc7.zip u-boot-imx-f7a364745e20c63feaa2a4d2926e92fc2bd7bdc7.tar.gz u-boot-imx-f7a364745e20c63feaa2a4d2926e92fc2bd7bdc7.tar.bz2 |
MX5: mx53evk: make use of GPIO framework
Signed-off-by: Stefano Babic <sbabic@denx.de>
CC: Jason Liu <r64343@freescale.com>
Diffstat (limited to 'board/freescale/mx53evk')
-rw-r--r-- | board/freescale/mx53evk/mx53evk.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/freescale/mx53evk/mx53evk.c b/board/freescale/mx53evk/mx53evk.c index 88095dc..81857ff 100644 --- a/board/freescale/mx53evk/mx53evk.c +++ b/board/freescale/mx53evk/mx53evk.c @@ -33,7 +33,7 @@ #include <mmc.h> #include <fsl_esdhc.h> #include <fsl_pmic.h> -#include <mxc_gpio.h> +#include <asm/gpio.h> #include <mc13892.h> 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; } |