aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/fsl_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/sysdev/fsl_pci.c')
-rw-r--r--arch/powerpc/sysdev/fsl_pci.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/fsl_pci.c b/arch/powerpc/sysdev/fsl_pci.c
index a625dcf26b2b..8cdd34482575 100644
--- a/arch/powerpc/sysdev/fsl_pci.c
+++ b/arch/powerpc/sysdev/fsl_pci.c
@@ -868,6 +868,14 @@ u64 fsl_pci_immrbar_base(struct pci_controller *hose)
868 868
869 pci_bus_read_config_dword(hose->bus, 869 pci_bus_read_config_dword(hose->bus,
870 PCI_DEVFN(0, 0), PCI_BASE_ADDRESS_0, &base); 870 PCI_DEVFN(0, 0), PCI_BASE_ADDRESS_0, &base);
871
872 /*
873 * For PEXCSRBAR, bit 3-0 indicate prefetchable and
874 * address type. So when getting base address, these
875 * bits should be masked
876 */
877 base &= PCI_BASE_ADDRESS_MEM_MASK;
878
871 return base; 879 return base;
872 } 880 }
873#endif 881#endif