summaryrefslogtreecommitdiffstats
path: root/firmware/target/mips/ingenic_jz47xx/system-jz4740.c
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2008-07-15 17:17:01 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2008-07-15 17:17:01 +0000
commitebb612fbcc87a9547a3603ef6188a26b0760a9aa (patch)
treef2f4432a08aa972dc786bf32fb7cbbfbf5474c5d /firmware/target/mips/ingenic_jz47xx/system-jz4740.c
parentbd06769ba2cde7875cc06fb73a3d167f4c0bea04 (diff)
downloadrockbox-ebb612fbcc87a9547a3603ef6188a26b0760a9aa.tar.gz
rockbox-ebb612fbcc87a9547a3603ef6188a26b0760a9aa.tar.bz2
rockbox-ebb612fbcc87a9547a3603ef6188a26b0760a9aa.zip
Onda VX747:
1) Improve touchscreen handling 2) Add RTC driver 4) Add NAND Flash ID scanning 3) Other minor fixes Nand_ID: Add a generic NAND ID database (currently only containg Samsung chips) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18052 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx/system-jz4740.c')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/system-jz4740.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/system-jz4740.c b/firmware/target/mips/ingenic_jz47xx/system-jz4740.c
index 4963cac517..ee50520243 100644
--- a/firmware/target/mips/ingenic_jz47xx/system-jz4740.c
+++ b/firmware/target/mips/ingenic_jz47xx/system-jz4740.c
@@ -22,19 +22,17 @@
#include "config.h"
#include "jz4740.h"
#include "mipsregs.h"
+#include "panic.h"
void intr_handler(void)
{
+ _printf("Interrupt!");
return;
}
void except_handler(void* stack_ptr, unsigned int cause, unsigned int epc)
{
- (void)stack_ptr;
- (void)cause;
- (void)epc;
- REG8(USB_REG_POWER) &= ~USB_POWER_SOFTCONN;
- while(1);
+ panicf("Exception occurred: [0x%x] at 0x%x (stack at 0x%x)", cause, epc, (unsigned int)stack_ptr);
}
void system_reboot(void)