fix for Ondio
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6798 a1c6a512-1295-4272-9138-f99709370657
diff --git a/flash/bootbox/main.c b/flash/bootbox/main.c
index 3c921fe..ecd5dc3 100644
--- a/flash/bootbox/main.c
+++ b/flash/bootbox/main.c
@@ -9,6 +9,10 @@
*
* Copyright (C) 2005 by Jörg Hohensohn aka [IDC]Dragon
*
+ * This is "Bootbox", a minimalistic loader, rescue firmware for just
+ * booting into a full features one. Aside from that it does charging
+ * and USB mode, to enable copying the desired firmware.
+ *
* All files in this archive are subject to the GNU General Public License.
* See the file COPYING in the source tree root for full license agreement.
*
@@ -106,6 +110,15 @@
}
#endif /* HAVE_CHARGING */
+#ifdef HAVE_MMC
+int mmc_remove_request(void)
+{
+ /* A dummy function here, we won't access the card
+ before entering USB mode */
+ return 0;
+}
+#endif /* HAVE_MMC */
+
void main(void)
{