mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
iPod Classic: fix s5l8702 cache line length.
Use 32 bytes for cache line length (arm926ej-s), this prevents misalignments of ATA storage buffer which in some builds could cause weird faults. Change-Id: I88dc595d251315620ec49b0251ddc039ff47181e Reviewed-on: http://gerrit.rockbox.org/1031 Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
This commit is contained in:
parent
bcca111438
commit
edb0c6c92f
3 changed files with 9 additions and 4 deletions
|
|
@ -61,6 +61,11 @@ bool dbg_hw_info(void)
|
|||
_DEBUG_PRINTF("speed: %d MHz", ((CLKCON0 & 1) ?
|
||||
CPUFREQ_NORMAL : CPUFREQ_MAX) / 1000000);
|
||||
_DEBUG_PRINTF("current_tick: %d", (unsigned int)current_tick);
|
||||
uint32_t __res;
|
||||
asm volatile ("mrc p15, 0, %0, c0, c0, 0" : "=r"(__res));
|
||||
_DEBUG_PRINTF("ID code: %08x", __res);
|
||||
asm volatile ("mrc p15, 0, %0, c0, c0, 1" : "=r"(__res));
|
||||
_DEBUG_PRINTF("cache type: %08x", __res);
|
||||
line++;
|
||||
|
||||
_DEBUG_PRINTF("LCD type: %d", lcd_type);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue