summaryrefslogtreecommitdiffstats
path: root/flash/bootbox/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'flash/bootbox/main.c')
-rw-r--r--flash/bootbox/main.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/flash/bootbox/main.c b/flash/bootbox/main.c
index 3c921fe25d..ecd5dc38ef 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 @@ int charging_screen(void)
}
#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)
{