summaryrefslogtreecommitdiff
path: root/cpu/mpc8260/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/mpc8260/pci.c')
-rw-r--r--cpu/mpc8260/pci.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpu/mpc8260/pci.c b/cpu/mpc8260/pci.c
index f9f1e27..b7a04d5 100644
--- a/cpu/mpc8260/pci.c
+++ b/cpu/mpc8260/pci.c
@@ -95,7 +95,11 @@
*/
#define PCI_MSTR_IO_LOCAL 0xA0000000 /* Local base */
+#ifdef CONFIG_ATC
+#define PCI_MSTR_IO_BUS 0x00000000 /* PCI base */
+#else
#define PCI_MSTR_IO_BUS 0xA0000000 /* PCI base */
+#endif
#define CPU_PCI_IO_START PCI_MSTR_IO_LOCAL
#define PCI_MSTR_IO_SIZE 0x10000000 /* 256MB */
#define POCMR2_MASK_ATTRIB (POCMR_MASK_256MB | POCMR_ENABLE | POCMR_PCI_IO)