summaryrefslogtreecommitdiff
path: root/include/pci.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-03-12 21:31:38 +0100
committerWolfgang Denk <wd@pollux.denx.de>2006-03-12 21:31:38 +0100
commit7b230f61db319d87d51449d4620d520822813fbb (patch)
tree4ab1907f8a19b51240ee9853bfe8acaad05c041c /include/pci.h
parenta3f0169880a44ac06de5177e7926d7c732368663 (diff)
parentdffb70f3305daa16625ec9d5b02a2c0d23ff84b3 (diff)
downloadu-boot-imx-7b230f61db319d87d51449d4620d520822813fbb.zip
u-boot-imx-7b230f61db319d87d51449d4620d520822813fbb.tar.gz
u-boot-imx-7b230f61db319d87d51449d4620d520822813fbb.tar.bz2
Merge with git://git.kernel.org/pub/scm/boot/u-boot/u-boot.git#pci
Diffstat (limited to 'include/pci.h')
-rw-r--r--include/pci.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/pci.h b/include/pci.h
index 4bb2df2..0fc00e4 100644
--- a/include/pci.h
+++ b/include/pci.h
@@ -309,6 +309,7 @@ struct pci_region {
#define PCI_REGION_MEM 0x00000000 /* PCI memory space */
#define PCI_REGION_IO 0x00000001 /* PCI IO space */
#define PCI_REGION_TYPE 0x00000001
+#define PCI_REGION_PREFETCH 0x00000008 /* prefetchable PCI memory */
#define PCI_REGION_MEMORY 0x00000100 /* System memory */
#define PCI_REGION_RO 0x00000200 /* Read-only memory */
@@ -386,7 +387,7 @@ struct pci_controller {
int (*write_dword)(struct pci_controller*, pci_dev_t, int where, u32);
/* Used by auto config */
- struct pci_region *pci_mem, *pci_io;
+ struct pci_region *pci_mem, *pci_io, *pci_prefetch;
/* Used by ppc405 autoconfig*/
struct pci_region *pci_fb;
@@ -472,6 +473,7 @@ extern int pciauto_region_allocate(struct pci_region* res, unsigned int size, un
extern void pciauto_setup_device(struct pci_controller *hose,
pci_dev_t dev, int bars_num,
struct pci_region *mem,
+ struct pci_region *prefetch,
struct pci_region *io);
int pciauto_config_device(struct pci_controller *hose, pci_dev_t dev);