summaryrefslogtreecommitdiffstats
path: root/flash/bootloader/bootloader.h
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2004-09-29 21:54:29 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2004-09-29 21:54:29 +0000
commit4e4231069ac7c0eac28443355ca9a6905823ea53 (patch)
tree65b24b0996428e968259986daa05d3d84b88e45b /flash/bootloader/bootloader.h
parent36056003b9fccb74706dd8585ae60bf8f9758fd0 (diff)
downloadrockbox-4e4231069ac7c0eac28443355ca9a6905823ea53.tar.gz
rockbox-4e4231069ac7c0eac28443355ca9a6905823ea53.zip
Ondio support for flash boot loader (yes, I have flashed my Ondio)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5131 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'flash/bootloader/bootloader.h')
-rw-r--r--flash/bootloader/bootloader.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/flash/bootloader/bootloader.h b/flash/bootloader/bootloader.h
index eee61c4809..342ebb4991 100644
--- a/flash/bootloader/bootloader.h
+++ b/flash/bootloader/bootloader.h
@@ -57,6 +57,14 @@ typedef struct
#define F2_UPPER 544
#define F3_LOWER 700
#define F3_UPPER 1023
+#elif defined PLATFORM_ONDIO
+#define CHANNEL 4
+#define F1_LOWER 0x2EF // Ondio has no F1 button,
+#define F1_UPPER 0x3FF // so we use "Right".
+#define F2_LOWER 0x19D // Ondio has no F2 button,
+#define F2_UPPER 0x245 // so we use "Up".
+#define F3_LOWER 0x246 // Ondio has no F3 button,
+#define F3_UPPER 0x2EE // so we use "Left".
#else
#error ("No platform given!")
#endif