cleanup storage defines

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18950 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Frank Gevaerts 2008-10-31 21:25:04 +00:00
parent 3aa5832808
commit 19d1cacb1a
71 changed files with 142 additions and 114 deletions

View file

@ -89,7 +89,7 @@
#if CONFIG_TUNER
#include "radio.h"
#endif
#ifdef HAVE_MMC
#if (CONFIG_STORAGE & STORAGE_MMC)
#include "ata_mmc.h"
#endif
@ -377,7 +377,7 @@ static void init(void)
#ifdef DEBUG
debug_init();
#else
#if !defined(HAVE_FMADC) && !defined(HAVE_MMC)
#if !defined(HAVE_FMADC) && !(CONFIG_STORAGE & STORAGE_MMC)
serial_setup();
#endif
#endif
@ -456,7 +456,7 @@ static void init(void)
#endif
/* enter USB mode early, before trying to mount */
if (button_get_w_tmo(HZ/10) == SYS_USB_CONNECTED)
#ifdef HAVE_MMC
#if (CONFIG_STORAGE & STORAGE_MMC)
if (!mmc_touched() ||
(mmc_remove_request() == SYS_HOTSWAP_EXTRACTED))
#endif