summaryrefslogtreecommitdiff
path: root/rbutil/mkamsboot/mkamsboot.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-11-10 09:27:40 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-11-10 09:27:40 +0000
commit044ba22b93e5b8fdd74c5f8d59d3b63b9d148c41 (patch)
tree25f2f4d264f06a5f081a58433b2f2b8ea8967596 /rbutil/mkamsboot/mkamsboot.c
parentab7ac8b8bd5b2fe2b209820ab83cb7cca958abf8 (diff)
"mv m200v2 m200v4"
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19060 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 476bdf2158..e9438b317d 100644
--- a/rbutil/mkamsboot/mkamsboot.c
+++ b/rbutil/mkamsboot/mkamsboot.c
@@ -92,7 +92,7 @@ execution to the uncompressed firmware.
#include "bootimg_clip.h"
#include "bootimg_e200v2.h"
#include "bootimg_fuze.h"
-#include "bootimg_m200v2.h"
+#include "bootimg_m200v4.h"
/* Win32 compatibility */
#ifndef O_BINARY
@@ -130,7 +130,7 @@ static const unsigned char* bootloaders[] =
bootimg_clip,
NULL,
bootimg_e200v2,
- bootimg_m200v2,
+ bootimg_m200v4,
NULL
};
@@ -140,7 +140,7 @@ static const int bootloader_sizes[] =
sizeof(bootimg_clip),
0,
sizeof(bootimg_e200v2),
- sizeof(bootimg_m200v2),
+ sizeof(bootimg_m200v4),
0
};
@@ -485,7 +485,8 @@ int main(int argc, char* argv[])
}
- /* TODO: Do some more sanity checks on the OF image. Some images (like m200v2) dont have a checksum at the end, only padding (0xdeadbeef). */
+ /* TODO: Do some more sanity checks on the OF image. Some images (like
+ m200v4) dont have a checksum at the end, only padding (0xdeadbeef). */
checksum = get_uint32le(buf + len - 4);
if (checksum != 0xefbeadde && checksum != calc_checksum(buf, len - 4)) {