From 428c563938c6bec24560cb1ada51e897ecfb0d47 Mon Sep 17 00:00:00 2001
From: stroese <stroese>
Date: Fri, 12 Sep 2003 08:52:09 +0000
Subject: [PATCH] PPC405EP: set vendor id.

---
 cpu/ppc4xx/405gp_pci.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/cpu/ppc4xx/405gp_pci.c b/cpu/ppc4xx/405gp_pci.c
index 4b5472b70be..fa5acfc0de6 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)
 	 */
-- 
GitLab