diff options
author | Greg Watson <jarrah@users.sourceforge.net> | 2004-01-22 00:09:10 +0000 |
---|---|---|
committer | Greg Watson <jarrah@users.sourceforge.net> | 2004-01-22 00:09:10 +0000 |
commit | 49ad3fe4c3714519bce35760c6354cf404ee881a (patch) | |
tree | a356f251967cce517355009c7a91eb77a1ea5f8b /src | |
parent | 7a186938b0e6ea484ee87008c0e353bae8593261 (diff) | |
download | coreboot-49ad3fe4c3714519bce35760c6354cf404ee881a.tar.xz |
get memory mapped i/o working
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1347 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/ppc/include/arch/io.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/src/arch/ppc/include/arch/io.h b/src/arch/ppc/include/arch/io.h index 5e28734390..a6ef47f687 100644 --- a/src/arch/ppc/include/arch/io.h +++ b/src/arch/ppc/include/arch/io.h @@ -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 - -#define _IO_BASE 0 +#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)) |