diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-08-06 20:39:02 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-08-06 20:39:02 +0000 |
commit | 88ae9024e4a1fec45e867f6a1f6cbea0ae0455bb (patch) | |
tree | 67fd77d2267eeda80987db55692886546a457e59 /firmware/panic.c | |
parent | 496e1f7e85f929c487eb89f85ff0fc7edfcf3a27 (diff) |
* Add basic (non-working) support for NAND flash
* Add panicf() handling
* Add not-yet-enabled dma acceleration
* Other (minor) fixes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18203 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/panic.c')
-rw-r--r-- | firmware/panic.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/panic.c b/firmware/panic.c index f7d8057e98..1791420139 100644 --- a/firmware/panic.c +++ b/firmware/panic.c @@ -129,6 +129,9 @@ void panicf( const char *fmt, ...) #endif /* CONFIG_KEYPAD */ #elif defined(CREATIVE_ZVx) if(false) +#elif defined(ONDA_VX747) + /* check for power button without including any .h file */ + if( (~(*(volatile unsigned int *)(0xB0010300))) & (1 << 29) ) #endif /* CPU */ system_reboot(); #endif /* !SIMULATOR */ |