summaryrefslogtreecommitdiffstats
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.tar.bz2
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.
#define O_BINARY 0
#endif
-#define VERSION "1.0"
-
-/* Supported models */
-enum {
- MODEL_UNKNOWN = -1,
- MODEL_FUZE = 0,
- MODEL_CLIP,
- MODEL_CLIPV2,
- MODEL_E200V2,
- MODEL_M200V4,
- MODEL_C200V2,
-};
+#define VERSION "1.1"
/* 4 for m200, 2 for e200/c200, 1 or 2 for fuze/clop */
static 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 @@
#include <stdint.h>
#include <sys/types.h>
+/* Supported models */
+enum {
+ MODEL_UNKNOWN = -1,
+ MODEL_FUZE = 0,
+ MODEL_CLIP,
+ MODEL_CLIPV2,
+ MODEL_E200V2,
+ MODEL_M200V4,
+ MODEL_C200V2,
+};
+
/* Holds info about the OF */
struct md5sums {