1
0
Fork 0
forked from len0rd/rockbox

Beginning of an M:Robe 500i port. Currently only in the bootloader stage. Needs another piece of code to start the boot process - will be in the wiki.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14763 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Karl Kurbjun 2007-09-20 04:46:41 +00:00
parent a80c0e8b83
commit 7b97fe21c0
34 changed files with 2651 additions and 93 deletions

View file

@ -22,6 +22,15 @@
#define 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
have conflicts with another system-target.h elsewhere so include a
subheader from here. */