summaryrefslogtreecommitdiff
path: root/firmware/export/config
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2011-07-02 02:21:06 +0000
committerAmaury Pouly <pamaury@rockbox.org>2011-07-02 02:21:06 +0000
commit88f75d096eb153101f47c3fc75d4ad9cbdbd3de4 (patch)
tree1093708fb5936b0e0b01c8e8628503588d0b8fe8 /firmware/export/config
parent82ecc75e68ee3edc22514c8a33aa7774e02fd4d4 (diff)
downloadrockbox-88f75d096eb153101f47c3fc75d4ad9cbdbd3de4.zip
rockbox-88f75d096eb153101f47c3fc75d4ad9cbdbd3de4.tar.gz
rockbox-88f75d096eb153101f47c3fc75d4ad9cbdbd3de4.tar.bz2
rockbox-88f75d096eb153101f47c3fc75d4ad9cbdbd3de4.tar.xz
imx233/fuze+: don't compile {touchpad code,sd} in bootloader mode, fix style in mmc
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30112 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config')
-rw-r--r--firmware/export/config/sansafuzeplus.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/firmware/export/config/sansafuzeplus.h b/firmware/export/config/sansafuzeplus.h
index 5a78d37..491867e 100644
--- a/firmware/export/config/sansafuzeplus.h
+++ b/firmware/export/config/sansafuzeplus.h
@@ -116,9 +116,13 @@
#define HAVE_FLASH_STORAGE
/* define this if the flash memory uses the SecureDigital Memory Card protocol */
-#define CONFIG_STORAGE (STORAGE_SD | STORAGE_MMC)
-
-#define NUM_DRIVES 2
+#ifdef BOOTLOADER
+# define CONFIG_STORAGE STORAGE_MMC
+#else
+# define CONFIG_STORAGE (STORAGE_SD | STORAGE_MMC)
+# define NUM_DRIVES 2
+# define HAVE_HOTSWAP
+#endif
/* todo */
#define BATTERY_CAPACITY_DEFAULT 550 /* default battery capacity */
@@ -158,12 +162,6 @@
#define FIRMWARE_OFFSET_FILE_CRC 0x0
#define FIRMWARE_OFFSET_FILE_DATA 0x8
-#ifndef BOOTLOADER
-#define HAVE_MULTIDRIVE
-#define NUM_DRIVES 2
-#define HAVE_HOTSWAP
-#endif
-
/* USB On-the-go */
#define CONFIG_USBOTG USBOTG_ARC