From: stroese <stroese>
Date: Fri, 12 Sep 2003 08:52:09 +0000 (+0000)
Subject: PPC405EP: set vendor id.
X-Git-Tag: v2025.01-rc5-pxa1908~23842
X-Git-Url: http://git.dujemihanovic.xyz/html/index.html?a=commitdiff_plain;h=428c563938c6bec24560cb1ada51e897ecfb0d47;p=u-boot.git

PPC405EP: set vendor id.
---

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)
 	 */