get memory mapped i/o working
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1347 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
7a186938b0
commit
49ad3fe4c3
|
@ -11,16 +11,9 @@
|
|||
|
||||
#define SLOW_DOWN_IO
|
||||
|
||||
#define PMAC_ISA_MEM_BASE 0
|
||||
#define PMAC_PCI_DRAM_OFFSET 0
|
||||
#define CHRP_ISA_IO_BASE 0xf8000000
|
||||
#define CHRP_ISA_MEM_BASE 0xf7000000
|
||||
#define CHRP_PCI_DRAM_OFFSET 0
|
||||
#define PREP_ISA_IO_BASE 0x80000000
|
||||
#define PREP_ISA_MEM_BASE 0xc0000000
|
||||
#define PREP_PCI_DRAM_OFFSET 0x80000000
|
||||
|
||||
#ifndef _IO_BASE
|
||||
#define _IO_BASE 0
|
||||
#endif
|
||||
|
||||
#define readb(addr) in_8((volatile uint8_t *)(addr))
|
||||
#define writeb(b,addr) out_8((volatile uint8_t *)(addr), (b))
|
||||
|
|
Loading…
Reference in New Issue