summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/mmc-imx233.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/imx233/mmc-imx233.c')
-rw-r--r--firmware/target/arm/imx233/mmc-imx233.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/firmware/target/arm/imx233/mmc-imx233.c b/firmware/target/arm/imx233/mmc-imx233.c
index b0f1f36c26..889ba0cb82 100644
--- a/firmware/target/arm/imx233/mmc-imx233.c
+++ b/firmware/target/arm/imx233/mmc-imx233.c
@@ -25,7 +25,6 @@
#include "storage.h"
#include "ssp-imx233.h"
#include "pinctrl-imx233.h"
-#include "button-target.h"
/**
* This code assumes a single eMMC internal flash
@@ -216,3 +215,9 @@ int mmc_write_sectors(IF_MD2(int drive,) unsigned long start, int count, const v
(void) buf;
return -1;
}
+
+bool mmc_present(IF_MD(int drive))
+{
+ IF_MD((void) drive);
+ return true;
+}