no hardcoded addresses!

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1196 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Greg Watson 2003-10-05 05:16:19 +00:00
parent 5b3b9aa5de
commit 2e90c1daa0
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@
#define PREP_ISA_MEM_BASE 0xc0000000 #define PREP_ISA_MEM_BASE 0xc0000000
#define PREP_PCI_DRAM_OFFSET 0x80000000 #define PREP_PCI_DRAM_OFFSET 0x80000000
#define _IO_BASE 0xfe000000 #define _IO_BASE 0
#define readb(addr) in_8((volatile uint8_t *)(addr)) #define readb(addr) in_8((volatile uint8_t *)(addr))
#define writeb(b,addr) out_8((volatile uint8_t *)(addr), (b)) #define writeb(b,addr) out_8((volatile uint8_t *)(addr), (b))