forked from len0rd/rockbox
Hopefully fix all the errors/warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14764 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7b97fe21c0
commit
bdf4d3927c
2 changed files with 6 additions and 9 deletions
|
|
@ -22,14 +22,6 @@
|
||||||
#define nop \
|
#define nop \
|
||||||
asm volatile ("nop")
|
asm volatile ("nop")
|
||||||
|
|
||||||
//#define outw(v,a) *(volatile unsigned short *)(a+PHY_IO_BASE) = (v)
|
|
||||||
#ifndef outw
|
|
||||||
#define outw(v,p) (*((unsigned short*)(p + PHY_IO_BASE)) = v)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef inw
|
|
||||||
#define inw(p) (*((unsigned short*)(p + PHY_IO_BASE)))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* This gets too complicated otherwise with all the ARM variation and would
|
/* This gets too complicated otherwise with all the ARM variation and would
|
||||||
have conflicts with another system-target.h elsewhere so include a
|
have conflicts with another system-target.h elsewhere so include a
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
#include "system-arm.h"
|
#include "system-arm.h"
|
||||||
|
|
||||||
#if (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5022) || (CONFIG_CPU == PP5024)
|
#ifdef CPU_PP
|
||||||
/* TODO: This header is actually portalplayer specific, and should be
|
/* TODO: This header is actually portalplayer specific, and should be
|
||||||
* moved into an appropriate subdir (or even split in 2). */
|
* moved into an appropriate subdir (or even split in 2). */
|
||||||
|
|
||||||
|
|
@ -91,6 +91,11 @@ static inline void flush_icache(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* CONFIG_CPU */
|
#endif /* CONFIG_CPU */
|
||||||
|
#else /* CPU_CONFIG == DM320 */
|
||||||
|
|
||||||
|
#define inw(p) (*((unsigned short*)(p + PHY_IO_BASE)))
|
||||||
|
#define outw(v,p) (*((unsigned short*)(p + PHY_IO_BASE)) = v)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* SYSTEM_TARGET_H */
|
#endif /* SYSTEM_TARGET_H */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue