mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-15 08:02:34 -05:00
Use STORAGE_WANTS_ALIGN to make clear it's not a strict necessity
Define PROC_NEEDS_CACHEALIGN only for PP git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25339 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e108d571ba
commit
b6065a8ceb
3 changed files with 15 additions and 20 deletions
|
|
@ -29,10 +29,8 @@
|
|||
#define CPUFREQ_NORMAL 47923200
|
||||
#define CPUFREQ_MAX 191692800
|
||||
|
||||
/* DMA engine needs aligned addresses */
|
||||
#define PROC_NEEDS_CACHEALIGN
|
||||
#define CACHEALIGN_BITS (4) /* 2^4 = 16 bytes */
|
||||
#define NEEDS_STORAGE_ALIGN
|
||||
#define WANTS_STORAGE_ALIGN
|
||||
|
||||
#define inl(a) (*(volatile unsigned long *) (a))
|
||||
#define outl(a,b) (*(volatile unsigned long *) (b) = (a))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue