From edb0c6c92f40db70be778bf9162ff116f5f01e31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A1stor=20Mu=C3=B1oz?= Date: Mon, 10 Nov 2014 01:50:19 +0100 Subject: 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 --- firmware/export/s5l8702.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/export') diff --git a/firmware/export/s5l8702.h b/firmware/export/s5l8702.h index b7da971b49..8e1d827f54 100644 --- a/firmware/export/s5l8702.h +++ b/firmware/export/s5l8702.h @@ -30,7 +30,7 @@ #define TIMER_FREQ 54000000 -#define CACHEALIGN_BITS (4) /* 2^4 = 16 bytes */ +#define CACHEALIGN_BITS (5) /* 2^5 = 32 bytes */ #define DRAM_ORIG 0x08000000 #define IRAM_ORIG 0 -- cgit v1.2.3