summaryrefslogtreecommitdiff
path: root/firmware/export/config-h10_5gb.h
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2007-03-17 19:07:20 +0000
committerBarry Wardell <rockbox@barrywardell.net>2007-03-17 19:07:20 +0000
commite293bbb4514ce877a3d449ecbc7a216a790f627a (patch)
tree6e9cceda48038e13ac517d534225bbeaeb46cdca /firmware/export/config-h10_5gb.h
parent3d39c4de289ba8f2d84fd38026273f9c4fa9a36a (diff)
downloadrockbox-e293bbb4514ce877a3d449ecbc7a216a790f627a.tar.gz
rockbox-e293bbb4514ce877a3d449ecbc7a216a790f627a.zip
If loading rockbox.mi4 fails, then drop back to trying rockbox.h10/rockbox.e200 instead. This will allow the new bootloader to be used with older rockbox builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12824 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-h10_5gb.h')
-rw-r--r--firmware/export/config-h10_5gb.h20
1 files changed, 7 insertions, 13 deletions
diff --git a/firmware/export/config-h10_5gb.h b/firmware/export/config-h10_5gb.h
index b809f3471c..1df9462ee6 100644
--- a/firmware/export/config-h10_5gb.h
+++ b/firmware/export/config-h10_5gb.h
@@ -120,17 +120,10 @@
120/* Offset ( in the firmware file's header ) to the file length */ 120/* Offset ( in the firmware file's header ) to the file length */
121#define FIRMWARE_OFFSET_FILE_LENGTH 0x8 121#define FIRMWARE_OFFSET_FILE_LENGTH 0x8
122 122
123/* Offset ( in the firmware file's header ) to the file CRC */ 123/* Offset ( in the firmware file's header ) to the file CRC and data. These are
124#define FIRMWARE_OFFSET_FILE_CRC 0x0c 124 only used when loading the old format rockbox.h10 file */
125 125#define FIRMWARE_OFFSET_FILE_CRC 0x0
126/* Offset ( in the firmware file's header ) to the file type */ 126#define FIRMWARE_OFFSET_FILE_DATA 0x8
127#define FIRMWARE_OFFSET_FILE_TYPE 0x1f8
128
129/* Offset ( in the firmware file's header ) to the file model id */
130#define FIRMWARE_OFFSET_FILE_MODEL 0x1fc
131
132/* Offset ( in the firmware file's header ) to the real data */
133#define FIRMWARE_OFFSET_FILE_DATA 0x200
134 127
135/* #define USB_IPODSTYLE */ 128/* #define USB_IPODSTYLE */
136 129
@@ -146,8 +139,9 @@
146/* Define this if you have adjustable CPU frequency */ 139/* Define this if you have adjustable CPU frequency */
147/*#define HAVE_ADJUSTABLE_CPU_FREQ*/ 140/*#define HAVE_ADJUSTABLE_CPU_FREQ*/
148 141
149#define BOOTFILE_EXT "h10" 142#define BOOTFILE_EXT "mi4"
150#define BOOTFILE "rockbox." BOOTFILE_EXT 143#define BOOTFILE "rockbox." BOOTFILE_EXT
144#define OLD_BOOTFILE "rockbox.h10"
151 145
152#define ICODE_ATTR_TREMOR_NOT_MDCT 146#define ICODE_ATTR_TREMOR_NOT_MDCT
153 147