summaryrefslogtreecommitdiffstats
path: root/rbutil/sansapatcher/sansaio.h
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2007-09-19 18:46:54 +0000
committerDave Chapman <dave@dchapman.com>2007-09-19 18:46:54 +0000
commit8d145a55746ed3f0c131b6677c00bb126dc086c6 (patch)
treeb119e1ccf82561eb13d5b35ef759546a3fcbad0c /rbutil/sansapatcher/sansaio.h
parentdbbc8358ce1fdf963038240d43ea731e0fcf4abd (diff)
downloadrockbox-8d145a55746ed3f0c131b6677c00bb126dc086c6.tar.gz
rockbox-8d145a55746ed3f0c131b6677c00bb126dc086c6.tar.bz2
rockbox-8d145a55746ed3f0c131b6677c00bb126dc086c6.zip
Initial attempt at c200 support - you now need both a "firmware.mi4" file (c200 bootloader) and "PP5022.mi4" file (e200 bootloader) to compile. sansapatcher should detect the device type and install the correct bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14755 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/sansapatcher/sansaio.h')
-rw-r--r--rbutil/sansapatcher/sansaio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/rbutil/sansapatcher/sansaio.h b/rbutil/sansapatcher/sansaio.h
index 2ef88fd384..5cfb12f416 100644
--- a/rbutil/sansapatcher/sansaio.h
+++ b/rbutil/sansapatcher/sansaio.h
@@ -59,6 +59,7 @@ struct sansa_t {
int sector_size;
struct sansa_partinfo_t pinfo[4];
int hasoldbootloader;
+ char* targetname; /* "e200" or "c200" */
loff_t start; /* Offset in bytes of firmware partition from start of disk */
};