rockbox/firmware/target/mips/ingenic_jz47xx
Marcin Bukat 027c035a4e jz4740: a few minor fixes
This was spotted while playing with qemu-jz:
1) rockbox reads TECR and TESR which are described as write-only
   registers. Datasheet doesn't mention what happens if they are
   readed. Apparently this doesn't have fatal side effects.
   It comes down to two defines from jz4740.h
   __tcu_stop_counter(n) and __tcu_start_counter(n) which use
   read-modify-write sequence.

2) rockbox accesses out of bound offset 0xd4 in DMA memspace.
   It comes from dis_irq() in system-jz4740.c. NUM_DMA is 6 but
   DMA channels are 0-5 so (irq <= IRQ_DMA_0 + NUM_DMA)) bound
   check is wrong.

This are *NOT* tested on device.

Change-Id: I29dff6a4f828030877b7d50fbcc98866478b9e3d
Reviewed-on: http://gerrit.rockbox.org/338
Reviewed-by: Bertrik Sikken <bertrik@sikken.nl>
Tested-by: Purling Nayuki <cyq.yzfl@gmail.com>
Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
2013-03-11 08:33:18 +01:00
..
onda_vx747 adc-target.h: cleanup 2012-01-08 00:39:29 +00:00
onda_vx767 remove unused prototypes 2012-05-07 00:51:13 -04:00
app.lds Add KEEP() around vectors in linker scripts. 2011-12-18 06:43:08 +00:00
ata-nand-jz4740.c ingenic_jz: remove ata-nand-target.h 2012-01-07 22:11:24 +00:00
ata-sd-jz4740.c Merge functionality of wakeups and semaphores-- fewer APIs and object types. semaphore_wait takes a timeout now so codecs and plugins have to be made incompatible. Don't make semaphores for targets not using them. 2011-03-02 08:49:38 +00:00
backlight-target.h Merge Onda VX7?7 backlight-target.h 2009-04-25 20:55:23 +00:00
boot.lds Add KEEP() around vectors in linker scripts. 2011-12-18 06:43:08 +00:00
codec-jz4740.c Hopefully finish off the red from r26051. 2010-05-15 14:16:35 +00:00
crt0.S Onda VX747: add dual-boot capability + make it possible to permanently 'stick' Rockbox to your DAP 2009-07-17 14:30:42 +00:00
debug-jz4740.c remove debug-target.h 2012-05-07 00:55:59 -04:00
dma_acc-jz4740.c * Add basic (non-working) support for NAND flash 2008-08-06 20:39:02 +00:00
fmradio-i2c-jz4740.c Onda VX747: try at implementing FM tuner support 2009-06-01 21:00:31 +00:00
i2c-jz4740.c Fix red. 2011-12-21 18:08:26 +00:00
kernel-jz4740.c Onda VX747: 2009-01-27 00:38:58 +00:00
lcd-jz4740.c lcd drivers: Convert lcd_[remote_]framebuffer to a pointer 2012-02-28 11:44:59 +11:00
lcd-target.h lcd-target.h: remove some duplicate declarations 2012-01-08 00:52:55 +00:00
pcm-jz4740.c Revise the PCM callback system after adding multichannel audio. 2012-03-03 07:23:38 +01:00
system-jz4740.c jz4740: a few minor fixes 2013-03-11 08:33:18 +01:00
system-target.h Create fimrware/asm directory for assembly optimized stuff. 2012-01-22 18:46:44 +01:00
timer-jz4740.c Ingenic Jz4740 timer driver: fix stupid mistake 2009-08-01 16:06:41 +00:00
usb-jz4740.c onda: remove now inlined USB_INIT_GPIO() 2011-12-31 18:50:45 +00:00