summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2009-07-05 08:25:44 +0000
committerRafaël Carré <rafael.carre@gmail.com>2009-07-05 08:25:44 +0000
commitef7ad19d37f24826eb8ff6be34c4f91a02832473 (patch)
tree39fe833f9da417141b973eccb96a3cba4e3b8202
parentf9eeab2b6ce93ada34f9197a84db275acce0a050 (diff)
downloadrockbox-ef7ad19d37f24826eb8ff6be34c4f91a02832473.tar.gz
rockbox-ef7ad19d37f24826eb8ff6be34c4f91a02832473.zip
mkamsboot: change version string to 1.1, move devices list in the header
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21650 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--rbutil/mkamsboot/mkamsboot.c13
-rw-r--r--rbutil/mkamsboot/mkamsboot.h11
2 files changed, 12 insertions, 12 deletions
diff --git a/rbutil/mkamsboot/mkamsboot.c b/rbutil/mkamsboot/mkamsboot.c
index ddecc96a88..79339b4a45 100644
--- a/rbutil/mkamsboot/mkamsboot.c
+++ b/rbutil/mkamsboot/mkamsboot.c
@@ -109,18 +109,7 @@ execution to the uncompressed firmware.
109#define O_BINARY 0 109#define O_BINARY 0
110#endif 110#endif
111 111
112#define VERSION "1.0" 112#define VERSION "1.1"
113
114/* Supported models */
115enum {
116 MODEL_UNKNOWN = -1,
117 MODEL_FUZE = 0,
118 MODEL_CLIP,
119 MODEL_CLIPV2,
120 MODEL_E200V2,
121 MODEL_M200V4,
122 MODEL_C200V2,
123};
124 113
125/* 4 for m200, 2 for e200/c200, 1 or 2 for fuze/clop */ 114/* 4 for m200, 2 for e200/c200, 1 or 2 for fuze/clop */
126static const unsigned short hw_revisions[] = { 115static const unsigned short hw_revisions[] = {
diff --git a/rbutil/mkamsboot/mkamsboot.h b/rbutil/mkamsboot/mkamsboot.h
index 9a9b9d4e5f..a14b320685 100644
--- a/rbutil/mkamsboot/mkamsboot.h
+++ b/rbutil/mkamsboot/mkamsboot.h
@@ -28,6 +28,17 @@
28#include <stdint.h> 28#include <stdint.h>
29#include <sys/types.h> 29#include <sys/types.h>
30 30
31/* Supported models */
32enum {
33 MODEL_UNKNOWN = -1,
34 MODEL_FUZE = 0,
35 MODEL_CLIP,
36 MODEL_CLIPV2,
37 MODEL_E200V2,
38 MODEL_M200V4,
39 MODEL_C200V2,
40};
41
31 42
32/* Holds info about the OF */ 43/* Holds info about the OF */
33struct md5sums { 44struct md5sums {