summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 4b5472b70b..fa5acfc0de 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)
*/
OpenPOWER on IntegriCloud