diff options
| author | Stefano Babic <[email protected]> | 2011-08-21 10:59:33 +0200 |
|---|---|---|
| committer | Albert ARIBAUD <[email protected]> | 2011-09-04 11:36:12 +0200 |
| commit | 50410078cd587f6b9ee915bd178854c0ee6d9bfe (patch) | |
| tree | 0fe51e61ecc34827789d908847a3dcd9eb8d8436 | |
| parent | f7a364745e20c63feaa2a4d2926e92fc2bd7bdc7 (diff) | |
MX5: mx53loco: make use of GPIO framework
Signed-off-by: Stefano Babic <[email protected]>
CC: Jason Liu <[email protected]>
| -rw-r--r-- | board/freescale/mx53loco/mx53loco.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/freescale/mx53loco/mx53loco.c b/board/freescale/mx53loco/mx53loco.c index 18b388eeda0..ade100608d1 100644 --- a/board/freescale/mx53loco/mx53loco.c +++ b/board/freescale/mx53loco/mx53loco.c @@ -34,7 +34,7 @@ #include <i2c.h> #include <mmc.h> #include <fsl_esdhc.h> -#include <mxc_gpio.h> +#include <asm/gpio.h> DECLARE_GLOBAL_DATA_PTR; @@ -146,9 +146,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; } |
