summaryrefslogtreecommitdiff
path: root/cpu/mpc8260/pci.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-05-18 11:30:09 +0000
committerwdenk <wdenk>2003-05-18 11:30:09 +0000
commit66fd3d1ce732d9168d6a056986231ada8dfa500e (patch)
tree4b0d3f9094ef6525c631baf01268d21317496e81 /cpu/mpc8260/pci.c
parent45219c46605f9b933ab454738ee4ce543d5b70d6 (diff)
downloadu-boot-imx-66fd3d1ce732d9168d6a056986231ada8dfa500e.zip
u-boot-imx-66fd3d1ce732d9168d6a056986231ada8dfa500e.tar.gz
u-boot-imx-66fd3d1ce732d9168d6a056986231ada8dfa500e.tar.bz2
Add support for CompactFlash on ATC board
(includes support for Intel 82365 and compatible PC Card controllers, and Yenta-compatible PCI-to-CardBus controllers)
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)