summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/sd-imx233.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/imx233/sd-imx233.c')
-rw-r--r--firmware/target/arm/imx233/sd-imx233.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/firmware/target/arm/imx233/sd-imx233.c b/firmware/target/arm/imx233/sd-imx233.c
index eec1ce14db..6f30c7a3c6 100644
--- a/firmware/target/arm/imx233/sd-imx233.c
+++ b/firmware/target/arm/imx233/sd-imx233.c
@@ -18,7 +18,10 @@
* KIND, either express or implied.
*
****************************************************************************/
+#include "config.h"
+#include "system.h"
#include "sd.h"
+#include "sdmmc.h"
int sd_init(void)
{
@@ -45,4 +48,15 @@ int sd_write_sectors(IF_MD2(int drive,) unsigned long start, int count,
return -1;
}
+tCardInfo *card_get_info_target(int card_no)
+{
+ (void)card_no;
+ return NULL;
+}
+
+int sd_num_drives(int first_drive)
+{
+ (void) first_drive;
+ return 0;
+}