fsm9900: Use newer SDHCI driver. The old driver will be deprecated.
Change-Id: I9748f378baeb91252845e1a0c094b26d8b8fcc7e
diff --git a/project/fsm9900.mk b/project/fsm9900.mk
index 62ef109..993b34a 100644
--- a/project/fsm9900.mk
+++ b/project/fsm9900.mk
@@ -8,7 +8,7 @@
DEBUG := 1
EMMC_BOOT := 1
-ENABLE_SDHCI_SUPPORT := 0
+ENABLE_SDHCI_SUPPORT := 1
DEFINES += WITH_DEBUG_DCC=1
DEFINES += WITH_DEBUG_UART=1
diff --git a/target/fsm9900/init.c b/target/fsm9900/init.c
index f728909..850359d 100644
--- a/target/fsm9900/init.c
+++ b/target/fsm9900/init.c
@@ -195,9 +195,9 @@
}
}
-struct mmc_device *target_mmc_device()
+void *target_mmc_device()
{
- return dev;
+ return (void *) dev;
}
#else