diff options
author | Dave Chapman <dave@dchapman.com> | 2008-09-06 17:50:59 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2008-09-06 17:50:59 +0000 |
commit | d462a64a918117991e11dade2d7fa3a28196e07a (patch) | |
tree | 0a6f5ed8777b18bb1641fbb3608f10374901706c /firmware/target/arm/tcc77x/crt0.S | |
parent | b87715f670f04c9adbe358c32a385c6771d99a81 (diff) | |
download | rockbox-d462a64a918117991e11dade2d7fa3a28196e07a.tar.gz rockbox-d462a64a918117991e11dade2d7fa3a28196e07a.zip |
Initial commit of iaudio 7 port by Vitja Makarov (FS#9245). Port is at quite an advanced stage, but is troubled by the lack of a reliable NAND driver (similar to the Cowon D2 port) and is not yet suitable for non-developers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18435 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/tcc77x/crt0.S')
-rw-r--r-- | firmware/target/arm/tcc77x/crt0.S | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/target/arm/tcc77x/crt0.S b/firmware/target/arm/tcc77x/crt0.S index e144c16fae..569930352a 100644 --- a/firmware/target/arm/tcc77x/crt0.S +++ b/firmware/target/arm/tcc77x/crt0.S | |||
@@ -82,12 +82,15 @@ start_loc: | |||
82 | 82 | ||
83 | #ifdef TCCBOOT | 83 | #ifdef TCCBOOT |
84 | mov r0, #0x80000000 | 84 | mov r0, #0x80000000 |
85 | #ifdef LOGIK_DAX | 85 | #if defined(LOGIK_DAX) |
86 | ldr r0, [r0, #0x300] /* Hold button is GPIO A, pin 0x2 */ | 86 | ldr r0, [r0, #0x300] /* Hold button is GPIO A, pin 0x2 */ |
87 | tst r0, #0x2 | 87 | tst r0, #0x2 |
88 | #elif defined(SANSA_M200) | 88 | #elif defined(SANSA_M200) |
89 | ldr r0, [r0, #0x310] /* Hold button is GPIO B, pin 0x200 */ | 89 | ldr r0, [r0, #0x310] /* Hold button is GPIO B, pin 0x200 */ |
90 | tst r0, #0x200 | 90 | tst r0, #0x200 |
91 | #elif defined(IAUDIO_7) | ||
92 | ldr r0, [r0, #0x300] /* Hold button is !GPIO A, pin 0x2 */ | ||
93 | tst r0, #0x2 | ||
91 | #else | 94 | #else |
92 | #error No bootup key detection implemented for this target | 95 | #error No bootup key detection implemented for this target |
93 | #endif | 96 | #endif |