summaryrefslogtreecommitdiff
path: root/rbutil/mkamsboot/mkamsboot.c
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2008-10-30 20:00:56 +0000
committerRafaël Carré <rafael.carre@gmail.com>2008-10-30 20:00:56 +0000
commit29a5373724d143d2629cafd8cc0c1961546c1bd6 (patch)
tree3b79dbdea69c1b3e81c6c1b9132609d35f62baca /rbutil/mkamsboot/mkamsboot.c
parentee378abe636a99a86cd9a6b98f37c667bca1bd8f (diff)
downloadrockbox-29a5373724d143d2629cafd8cc0c1961546c1bd6.tar.gz
rockbox-29a5373724d143d2629cafd8cc0c1961546c1bd6.zip
mkamsboot: supports Fuze firmwares
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18936 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/mkamsboot/mkamsboot.c')
-rw-r--r--rbutil/mkamsboot/mkamsboot.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/rbutil/mkamsboot/mkamsboot.c b/rbutil/mkamsboot/mkamsboot.c
index f2fc8195bc..476bdf2158 100644
--- a/rbutil/mkamsboot/mkamsboot.c
+++ b/rbutil/mkamsboot/mkamsboot.c
@@ -91,6 +91,7 @@ execution to the uncompressed firmware.
91 91
92#include "bootimg_clip.h" 92#include "bootimg_clip.h"
93#include "bootimg_e200v2.h" 93#include "bootimg_e200v2.h"
94#include "bootimg_fuze.h"
94#include "bootimg_m200v2.h" 95#include "bootimg_m200v2.h"
95 96
96/* Win32 compatibility */ 97/* Win32 compatibility */
@@ -125,7 +126,7 @@ static const char* model_names[] =
125 126
126static const unsigned char* bootloaders[] = 127static const unsigned char* bootloaders[] =
127{ 128{
128 NULL, 129 bootimg_fuze,
129 bootimg_clip, 130 bootimg_clip,
130 NULL, 131 NULL,
131 bootimg_e200v2, 132 bootimg_e200v2,
@@ -135,7 +136,7 @@ static const unsigned char* bootloaders[] =
135 136
136static const int bootloader_sizes[] = 137static const int bootloader_sizes[] =
137{ 138{
138 0, 139 sizeof(bootimg_fuze),
139 sizeof(bootimg_clip), 140 sizeof(bootimg_clip),
140 0, 141 0,
141 sizeof(bootimg_e200v2), 142 sizeof(bootimg_e200v2),
@@ -147,7 +148,7 @@ static const int bootloader_sizes[] =
147 -add parameter to the "scramble" tool */ 148 -add parameter to the "scramble" tool */
148static const char* rb_model_names[] = 149static const char* rb_model_names[] =
149{ 150{
150 NULL, 151 "fuze",
151 "clip", 152 "clip",
152 NULL, 153 NULL,
153 "e2v2", 154 "e2v2",
@@ -159,7 +160,7 @@ static const char* rb_model_names[] =
159 ".sansa" files - these are the same as MODEL_NUMBER in config-target.h */ 160 ".sansa" files - these are the same as MODEL_NUMBER in config-target.h */
160static const int rb_model_num[] = 161static const int rb_model_num[] =
161{ 162{
162 0, 163 43,
163 40, 164 40,
164 0, 165 0,
165 41, 166 41,