rockbox/firmware/target
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
..
arm Disable UDMA 2 on iPod4G target 2021-02-27 14:38:49 +00:00
coldfire h300, Others Bugfix Bootloader backlight_init() 2020-11-13 18:08:01 +00:00
hosted erosq: Enable HAVE_SCROLLWHEEL for saner scroll wheel handling 2020-12-16 14:54:11 -05:00
mips Fix MIPS cache operations and enable HAVE_CPU_CACHE_ALIGN on MIPS 2021-03-03 20:50:28 +00:00