Hardware convenience library

The only target dependency for most hardware is sizeof(target_phys_addr_t).
Build these files into a convenience library, and use that instead of
building for every target.

Remove and poison various target specific macros to avoid bogus target
dependencies creeping back in.

Big/Little endian is not handled because devices should not know or care
about this to start with.

Signed-off-by: Paul Brook <paul@codesourcery.com>
This commit is contained in:
Paul Brook 2009-05-19 16:17:58 +01:00
parent 8a637d4443
commit 1ad2134f91
18 changed files with 248 additions and 133 deletions

View file

@ -24,8 +24,8 @@
#include "sysbus.h"
#include "hw.h"
#include "pc.h"
#include "etraxfs.h"
//#include "pc.h"
//#include "etraxfs.h"
#define D(x)