mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -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))
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@ static inline void wake_core(int core)
|
|||
#define CACHEALIGN_BITS (4) /* 2^4 = 16 bytes */
|
||||
|
||||
#if defined(CPU_PP502x) && defined(HAVE_ATA_DMA)
|
||||
#define NEEDS_STORAGE_ALIGN
|
||||
#define STORAGE_WANTS_ALIGN
|
||||
#endif
|
||||
|
||||
/** cache functions **/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue