summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc/mpc85xx.h
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2006-11-11 10:53:19 +0100
committerPaul Mackerras <paulus@samba.org>2006-11-13 14:49:25 +1100
commit19a79859e168640f8e16d7b216d211c1c52b687a (patch)
tree6a7d0467b26bd1470679b486899c48258a611b73 /include/asm-ppc/mpc85xx.h
parentb61c5509fe8f6c665c146ab14f960000d4a5d1a9 (diff)
downloadop-kernel-dev-19a79859e168640f8e16d7b216d211c1c52b687a.zip
op-kernel-dev-19a79859e168640f8e16d7b216d211c1c52b687a.tar.gz
[PATCH] ppc: Fix io.h for config with CONFIG_PCI not set
When CONFIG_PCI option is not set, the variables pci_dram_offset, isa_io_base and isa_mem_base are not defined. Currently, the test is handled in each platform header. This patch moves the test in io.h once and for all. Signed-off-by: Sylvain Munaut <tnt@246tNt.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-ppc/mpc85xx.h')
-rw-r--r--include/asm-ppc/mpc85xx.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/asm-ppc/mpc85xx.h b/include/asm-ppc/mpc85xx.h
index 9b48511..d7e4a79 100644
--- a/include/asm-ppc/mpc85xx.h
+++ b/include/asm-ppc/mpc85xx.h
@@ -44,14 +44,6 @@
#include <platforms/85xx/tqm85xx.h>
#endif
-#define _IO_BASE isa_io_base
-#define _ISA_MEM_BASE isa_mem_base
-#ifdef CONFIG_PCI
-#define PCI_DRAM_OFFSET pci_dram_offset
-#else
-#define PCI_DRAM_OFFSET 0
-#endif
-
/*
* The "residual" board information structure the boot loader passes
* into the kernel.
OpenPOWER on IntegriCloud