diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2010-11-27 10:06:26 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2010-11-27 10:06:26 +0000 |
commit | 8972744ea98c46d76ffdce46ec2a254cfec315a3 (patch) | |
tree | 73b10c923ea0066cef631f853d4b5880564d52be /firmware/export/imx31l.h | |
parent | 54b2d72a4e5aac578d434b5bafb3395f8e755985 (diff) |
Use CACHEALIGN_BITS to calculate CACHEALIGN_SIZE instead of directly setting it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28682 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/imx31l.h')
-rw-r--r-- | firmware/export/imx31l.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/imx31l.h b/firmware/export/imx31l.h index 7cb452d3cb..9ad1d44e19 100644 --- a/firmware/export/imx31l.h +++ b/firmware/export/imx31l.h @@ -38,7 +38,7 @@ #define FRAME ((void *)(FRAME_PHYS_ADDR+0x100000-CSD0_BASE_ADDR)) #define CACHEALIGN_BITS 5 -#define CACHEALIGN_SIZE 32 +#define CACHEALIGN_SIZE (1u << CACHEALIGN_BITS) /* needed by *.link */ #define NOCACHE_BASE CSD0_BASE_ADDR /* USBOTG */ |