summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorGraeme Russ <graeme.russ@gmail.com>2009-08-23 12:59:50 +1000
committerTom Rix <Tom.Rix@windriver.com>2009-10-03 09:04:09 -0500
commited3afafd487d1557e175d53270aa3f44427e5632 (patch)
tree589b99c768635ed864cbd64909030a16b6f7d923 /cpu
parenta219983dc16c90daed5e27133383edd7db95f4cd (diff)
downloadu-boot-imx-ed3afafd487d1557e175d53270aa3f44427e5632.zip
u-boot-imx-ed3afafd487d1557e175d53270aa3f44427e5632.tar.gz
u-boot-imx-ed3afafd487d1557e175d53270aa3f44427e5632.tar.bz2
i386: Misc PCI fixups
Change PCI_REGION_MEMORY to PCI_REGION_SYS_MEMORY (Originally done in commit ff4e66e93c1a, regressed by commit 6d7f610b09f8) Cast PCI_ROM_ADDRESS_MASK to u32 Wrap probe_pci_video() call inside #ifdef CONFIG_VIDEO Change call to pci_find_class() to pci_find_devices(). This is based on a patch submitted on 1st March 2007 (Patch that fixes the compilation errors for sc520_cdp board) by mushtaq_k This patch requires that PCI_VIDEO_VENDOR_ID and PCI_VIDEO_DEVICE_ID be specified in the board config file. Dummy values have been added for the SC520 CDP board to enable compilation, but since I do not have one of these, I do know what the values should be Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
Diffstat (limited to 'cpu')
-rw-r--r--cpu/i386/sc520/sc520_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/i386/sc520/sc520_pci.c b/cpu/i386/sc520/sc520_pci.c
index 38b837e..871ad0a 100644
--- a/cpu/i386/sc520/sc520_pci.c
+++ b/cpu/i386/sc520/sc520_pci.c
@@ -124,7 +124,7 @@ void pci_sc520_init(struct pci_controller *hose)
SC520_PCI_MEMORY_BUS,
SC520_PCI_MEMORY_PHYS,
SC520_PCI_MEMORY_SIZE,
- PCI_REGION_MEM | PCI_REGION_MEMORY);
+ PCI_REGION_MEM | PCI_REGION_SYS_MEMORY);
/* PCI memory space */
pci_set_region(hose->regions + 1,