summaryrefslogtreecommitdiffstats
path: root/firmware/export/config-clip.h
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2008-11-09 06:17:21 +0000
committerRafaël Carré <rafael.carre@gmail.com>2008-11-09 06:17:21 +0000
commitaef27e1f0c69516bbcf13d7986e204502d708ec4 (patch)
tree127bc7a9a71e8856247a6ea52805c1666a92c26c /firmware/export/config-clip.h
parent308f21dc68ca1387c7003e9d185b717af7d575bf (diff)
downloadrockbox-aef27e1f0c69516bbcf13d7986e204502d708ec4.tar.gz
rockbox-aef27e1f0c69516bbcf13d7986e204502d708ec4.zip
Sansav2 Bootloader
Adds read-only SD driver, largely copied from ata-sd-pp.c Only tested on the embedded SD, on the Clip First steps to build a Normal firmware git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19045 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-clip.h')
-rw-r--r--firmware/export/config-clip.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/firmware/export/config-clip.h b/firmware/export/config-clip.h
index cfeaea770c..9bc4a14bf5 100644
--- a/firmware/export/config-clip.h
+++ b/firmware/export/config-clip.h
@@ -6,7 +6,7 @@
/* For Rolo and boot loader */
#define MODEL_NUMBER 40
#define MODEL_NAME "Sandisk Sansa Clip"
-#define FIRMWARE_OFFSET_FILE_DATA 0
+#define FIRMWARE_OFFSET_FILE_DATA 8
#define FIRMWARE_OFFSET_FILE_CRC 0
#define HW_SAMPR_CAPS (SAMPR_CAP_44)
@@ -84,7 +84,11 @@
#define CODEC_SIZE 0x100000
/* The number of bytes reserved for loadable plugins */
+#if 0 /* The plugin buffer doesn't fit in the 2MB memory */
#define PLUGIN_BUFFER_SIZE 0x80000
+#else
+#define PLUGIN_BUFFER_SIZE 0
+#endif
#define AB_REPEAT_ENABLE 1
@@ -137,8 +141,8 @@
#define CONFIG_LCD LCD_SSD1303
#ifndef BOOTLOADER
-#define HAVE_MULTIVOLUME
-#define HAVE_HOTSWAP
+
+#if 0 /* disabled since there is no USB driver */
/* USB On-the-go */
#define CONFIG_USBOTG USBOTG_ARC
@@ -149,6 +153,8 @@
#define USB_PRODUCT_ID 0x7433
#endif /* BOOTLOADER */
+#endif
+
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL