mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
fsl_pci: Only modify registers if we have them
pme_msg_det exists only on PCIe controllers only set it if we are a "bridge". Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
parent
be32bf20bc
commit
876b8f9789
1 changed files with 2 additions and 1 deletions
|
|
@ -182,7 +182,8 @@ fsl_pci_init(struct pci_controller *hose)
|
|||
|
||||
/* Clear all error indications */
|
||||
|
||||
pci->pme_msg_det = 0xffffffff;
|
||||
if (bridge)
|
||||
pci->pme_msg_det = 0xffffffff;
|
||||
pci->pedr = 0xffffffff;
|
||||
|
||||
pci_hose_read_config_word (hose, dev, PCI_DSR, &temp16);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue