summaryrefslogtreecommitdiff
path: root/cpu/ppc4xx/405gp_pci.c
diff options
context:
space:
mode:
authorstroese <stroese>2003-09-12 08:52:09 +0000
committerstroese <stroese>2003-09-12 08:52:09 +0000
commit428c563938c6bec24560cb1ada51e897ecfb0d47 (patch)
treed893e821618bc79ee8be730e9bba18d562e35a4c /cpu/ppc4xx/405gp_pci.c
parent342f551bc9c6f8ba7242af4be1fd8045b8710980 (diff)
downloadu-boot-imx-428c563938c6bec24560cb1ada51e897ecfb0d47.zip
u-boot-imx-428c563938c6bec24560cb1ada51e897ecfb0d47.tar.gz
u-boot-imx-428c563938c6bec24560cb1ada51e897ecfb0d47.tar.bz2
PPC405EP: set vendor id.
Diffstat (limited to 'cpu/ppc4xx/405gp_pci.c')
-rw-r--r--cpu/ppc4xx/405gp_pci.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpu/ppc4xx/405gp_pci.c b/cpu/ppc4xx/405gp_pci.c
index 4b5472b..fa5acfc 100644
--- a/cpu/ppc4xx/405gp_pci.c
+++ b/cpu/ppc4xx/405gp_pci.c
@@ -266,6 +266,10 @@ void pci_405gp_init(struct pci_controller *hose)
}
#endif
+#if defined(CONFIG_405EP) /* on ppc405ep vendor id is not set */
+ pci_write_config_word(PCIDEVID_405GP, PCI_VENDOR_ID, 0x1014); /* IBM */
+#endif
+
/*
* Set HCE bit (Host Configuration Enabled)
*/