diff options
author | Dave Chapman <dave@dchapman.com> | 2007-10-27 07:53:42 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2007-10-27 07:53:42 +0000 |
commit | 28c5ba86d5c9a1011ab2eb9f8fe793cab2f19487 (patch) | |
tree | 26f6a6e24a7bad14a703849ac99791c06cb692b7 /utils | |
parent | 18c9aba4b49a8a27f2425dacf48f028862af2cba (diff) | |
download | rockbox-28c5ba86d5c9a1011ab2eb9f8fe793cab2f19487.tar.gz rockbox-28c5ba86d5c9a1011ab2eb9f8fe793cab2f19487.zip |
Initial, untested support for C100. Also increase the firmware size limit to 10MB to make it work withe the Cowon D2 and a little cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15331 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils')
-rw-r--r-- | utils/tcctool/tcctool.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/utils/tcctool/tcctool.c b/utils/tcctool/tcctool.c index 0eb3d7dad7..d191a0d26f 100644 --- a/utils/tcctool/tcctool.c +++ b/utils/tcctool/tcctool.c @@ -35,7 +35,7 @@ #define VERSION "0.1" -#define MAX_FIRMWARESIZE (2*1024*1024) /* Arbitrary limit (for safety) */ +#define MAX_FIRMWARESIZE (10*1024*1024) /* Arbitrary limit (for safety) */ struct device_t { @@ -48,10 +48,11 @@ struct device_t static struct device_t devices[] = { - {"logikdax", "Logik DAX 1GB DAB/MP3 player", 0xb021, 0x20000000, 0x52e97410 }, + {"c100", "Sansa C100 series", 0xb021, 0x20000000, 0x62e97010 }, + {"cowond2", "Cowon D2", 0xb011, 0x20000000, 0xa2e92010 }, {"iaudio6", "iAudio 6", 0xb021, 0x20000000, 0x62e97010 }, {"iaudio7", "iAudio 7", 0xb021, 0x20000000, 0x62e97010 }, - {"cowond2", "Cowon D2", 0xb011, 0x20000000, 0xa2e92010 } + {"logikdax", "Logik DAX 1GB DAB/MP3 player", 0xb021, 0x20000000, 0x52e97410 } }; #define NUM_DEVICES ((sizeof(devices) / sizeof(struct device_t))) @@ -259,12 +260,14 @@ int main(int argc, char* argv[]) if (argc != 4) { print_usage(); + print_devices(); return 1; } if (strcmp(argv[1],"-d")) { print_usage(); + print_devices(); return 2; } |