summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2012-05-20 00:53:23 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2012-05-20 01:35:24 +0200
commitf94db35d5e393675111c78aa273fc2cd0b37814f (patch)
tree7387f2ecb3b1b1eaedffbcb2d962361de42a5ce6
parent391f3ea2ae5c51be85ab6a0d5889b265030422eb (diff)
downloadrockbox-f94db35d5e393675111c78aa273fc2cd0b37814f.zip
rockbox-f94db35d5e393675111c78aa273fc2cd0b37814f.tar.gz
rockbox-f94db35d5e393675111c78aa273fc2cd0b37814f.tar.bz2
rockbox-f94db35d5e393675111c78aa273fc2cd0b37814f.tar.xz
imx233: fix cache line size (32 instead of 16)
Change-Id: I4b0826a93ee8aef6a5fabf5c75e833bc36999479
-rw-r--r--firmware/export/imx233.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/export/imx233.h b/firmware/export/imx233.h
index 58e1d48..ba5ca7a 100644
--- a/firmware/export/imx233.h
+++ b/firmware/export/imx233.h
@@ -83,7 +83,8 @@
#define __BLOCK_SFTRST (1 << 31)
#define __BLOCK_CLKGATE (1 << 30)
-#define CACHEALIGN_BITS 4
+/* 32 bytes per cache line */
+#define CACHEALIGN_BITS 5
#define __XTRACT(reg, field) ((reg & reg##__##field##_BM) >> reg##__##field##_BP)
#define __XTRACT_EX(val, field) (((val) & field##_BM) >> field##_BP)