From 49ad3fe4c3714519bce35760c6354cf404ee881a Mon Sep 17 00:00:00 2001 From: Greg Watson Date: Thu, 22 Jan 2004 00:09:10 +0000 Subject: get memory mapped i/o working git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1347 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/arch/ppc/include/arch/io.h | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'src') 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)) -- cgit v1.2.3