projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00c07fe
)
MX5: mx53smd: make use of GPIO framework
author
Stefano Babic
<sbabic@denx.de>
Sun, 21 Aug 2011 08:56:57 +0000
(10:56 +0200)
committer
Albert ARIBAUD
<albert.u.boot@aribaud.net>
Sun, 4 Sep 2011 09:36:12 +0000
(11:36 +0200)
Signed-off-by: Stefano Babic <sbabic@denx.de>
CC: Fabio Estevam <fabio.estevam@freescale.com>
board/freescale/mx53smd/mx53smd.c
patch
|
blob
|
history
diff --git
a/board/freescale/mx53smd/mx53smd.c
b/board/freescale/mx53smd/mx53smd.c
index 21b5d14c02083aaaa9e21aeaf7c9b5f767db0693..4a7ee550d52b28f6d08d92d6cb6eb73f3112c38c 100644
(file)
--- 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;
}