summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2013-01-22 15:01:03 +0000
committerStefano Babic <sbabic@denx.de>2013-01-28 11:43:01 +0100
commit90bc2bf29780c2d238bb0c898d3a6cc6ec73922a (patch)
tree4d15ab680f5e6e0ac05862921a4000b78d10783f /arch
parent8000d8a8260c95727b6357a638a5e80625d7a899 (diff)
downloadu-boot-imx-90bc2bf29780c2d238bb0c898d3a6cc6ec73922a.zip
u-boot-imx-90bc2bf29780c2d238bb0c898d3a6cc6ec73922a.tar.gz
u-boot-imx-90bc2bf29780c2d238bb0c898d3a6cc6ec73922a.tar.bz2
mxs: mmc: Allow overriding default card detect implementation
Some MXS based boards do not implement the card-detect signal. Allow user to specify alternate card-detect implementation. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Otavio Salvador <otavio@ossystems.com.br> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/arch-mxs/sys_proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-mxs/sys_proto.h b/arch/arm/include/asm/arch-mxs/sys_proto.h
index 8aaf196..5bafde5 100644
--- a/arch/arm/include/asm/arch-mxs/sys_proto.h
+++ b/arch/arm/include/asm/arch-mxs/sys_proto.h
@@ -31,7 +31,7 @@ int mxs_wait_mask_clr(struct mxs_register_32 *reg,
uint32_t mask,
unsigned int timeout);
-int mxsmmc_initialize(bd_t *bis, int id, int (*wp)(int));
+int mxsmmc_initialize(bd_t *bis, int id, int (*wp)(int), int (*cd)(int));
#ifdef CONFIG_SPL_BUILD