rockbox/firmware/target/mips/ingenic_jz47xx
Aidan MacDonald 74a3d1f5be Fix MIPS cache operations and enable HAVE_CPU_CACHE_ALIGN on MIPS
- The range-based cache operations on MIPS were broken and only worked
  properly when BOTH the address and size were multiples of the cache
  line size. If this was not the case, the last cache line of the range
  would not be touched!

  Fix is to align start/end pointers to cache lines before iterating.

- To my knowledge all MIPS processors have a cache, so I enabled
  HAVE_CPU_CACHE_ALIGN by default. This also allows mmu-mips.c to use
  the CACHEALIGN_UP/DOWN macros.

- Make jz4760/system-target.h define its cache line size properly.

Change-Id: I1fcd04a59791daa233b9699f04d5ac1cc6bacee7
2021-03-03 20:50:28 +00:00
..
onda_vx747 mips: Convert 'nop' to 'ssnop' -- for future-proofing 2020-09-05 22:18:26 +00:00
onda_vx767 Undo the hacks that allowed targets without LEFT/RIGHT (UP/DN) to build. 2020-10-08 20:30:08 -04:00
xduoo_x3 Undo the hacks that allowed targets without LEFT/RIGHT (UP/DN) to build. 2020-10-08 20:30:08 -04:00
app.lds mips: Adjust stack sizes 2020-07-15 11:43:39 -04:00
ata-nand-jz4740.c mips: Heavily rework DMA & caching code 2020-09-03 15:34:28 -04:00
ata-nand-jz4760.c mips: Heavily rework DMA & caching code 2020-09-03 15:34:28 -04:00
ata-sd-jz4740.c mips: Heavily rework DMA & caching code 2020-09-03 15:34:28 -04:00
ata-sd-jz4760.c mips: Heavily rework DMA & caching code 2020-09-03 15:34:28 -04:00
backlight-target.h Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
boot.lds mips: Adjust stack sizes 2020-07-15 11:43:39 -04:00
codec-jz4740.c jz47xx: Audio path tweaks: 2020-09-04 15:57:00 -04:00
codec-jz4760.c xduoox3: Disable the DAC's digital de-emphasis filter. 2020-10-15 13:30:48 -04:00
crt0.S mips: Convert 'nop' to 'ssnop' -- for future-proofing 2020-09-05 22:18:26 +00:00
debug-jz4740.c remove debug-target.h 2012-05-07 00:55:59 -04:00
debug-jz4760.c Xduoo X3 add headphone and lineout status to IO Ports debug menu 2020-09-17 11:22:40 -04:00
dma-target.h Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
dma_acc-jz4740.c mips: Heavily rework DMA & caching code 2020-09-03 15:34:28 -04:00
dma_acc-jz4760.c mips: Heavily rework DMA & caching code 2020-09-03 15:34:28 -04: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
i2c-jz4760.c jz4760: Greatly enhance debug code and silence some compilation warnings. 2018-09-20 18:59:19 -04:00
kernel-jz4740.c Onda VX747: 2009-01-27 00:38:58 +00:00
kernel-jz4760.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
lcd-jz4740.c mips: Heavily rework DMA & caching code 2020-09-03 15:34:28 -04:00
lcd-jz4760.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
lcd-target.h lcd-target.h: remove some duplicate declarations 2012-01-08 00:52:55 +00:00
pcm-jz4740.c pcm: Further cleanup of unused bits of the PCM ACPI: 2020-11-12 15:59:09 +00:00
pcm-jz4760.c pcm: Further cleanup of unused bits of the PCM ACPI: 2020-11-12 15:59:09 +00:00
system-jz4740.c mips: Convert 'nop' to 'ssnop' -- for future-proofing 2020-09-05 22:18:26 +00:00
system-jz4760.c jz4760: Fix and re-enable the hardware udelay() timer 2020-09-06 02:09:21 +00:00
system-target.h Fix MIPS cache operations and enable HAVE_CPU_CACHE_ALIGN on MIPS 2021-03-03 20:50:28 +00:00
timer-jz4740.c jz4740: Timer not re-enabled properly 2020-08-28 15:19:07 +00:00
timer-jz4760.c jz4760: Use a #define for the timer id, not a raw number 2020-09-06 00:27:07 +00:00
usb-jz4740.c mips: Heavily rework DMA & caching code 2020-09-03 15:34:28 -04:00
usb-jz4760.c jz4760: Implement USB DMA RX 2020-09-18 17:48:31 -04:00
xdebug.h Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00