diff options
author | Graeme Russ <graeme.russ@gmail.com> | 2009-08-23 12:59:50 +1000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-09-04 21:52:52 +0200 |
commit | d7549024098af093785151261266a02be19af633 (patch) | |
tree | 8eb81a6bdbd6ed5c3d2f17de25b534e131640e63 /include | |
parent | 04ff9ab158714d43cdf2f4f6f0235c3ea9d241a2 (diff) | |
download | u-boot-imx-d7549024098af093785151261266a02be19af633.zip u-boot-imx-d7549024098af093785151261266a02be19af633.tar.gz u-boot-imx-d7549024098af093785151261266a02be19af633.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 'include')
-rw-r--r-- | include/configs/sc520_cdp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/sc520_cdp.h b/include/configs/sc520_cdp.h index 3e2bb02..36e1224 100644 --- a/include/configs/sc520_cdp.h +++ b/include/configs/sc520_cdp.h @@ -206,6 +206,8 @@ ************************************************************/ #ifndef GRUSS_TESTING #define CONFIG_VIDEO /* To enable video controller support */ +#define PCI_VIDEO_VENDOR_ID 0 /*Use the appropriate vendor ID*/ +#define PCI_VIDEO_DEVICE_ID 0 /*Use the appropriate Device ID*/ #else #undef CONFIG_VIDEO #endif |