From 6aa8525f24f3494a95918d83290eee846df57b79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Hohensohn?= Date: Wed, 22 Jun 2005 07:19:55 +0000 Subject: [PATCH] fix for Ondio git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6798 a1c6a512-1295-4272-9138-f99709370657 --- flash/bootbox/main.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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) {