mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-10 15:19:51 +00:00
powerpc/44x: pci: Use PCI_BASE_ADDRESS_MEM_PREFETCH rather than magic value.
Signed-off-by: Tony Breeds <tony@bakeyournoodle.com> Signed-off-by: Josh Boyer <jwboyer@gmail.com>
This commit is contained in:
parent
f1ab93755f
commit
9fb5529679
@ -1739,7 +1739,7 @@ static void __init ppc4xx_configure_pciex_PIMs(struct ppc4xx_pciex_port *port,
|
||||
/* Calculate window size */
|
||||
sa = (0xffffffffffffffffull << ilog2(size));
|
||||
if (res->flags & IORESOURCE_PREFETCH)
|
||||
sa |= 0x8;
|
||||
sa |= PCI_BASE_ADDRESS_MEM_PREFETCH;
|
||||
|
||||
if (of_device_is_compatible(port->node, "ibm,plb-pciex-460sx"))
|
||||
sa |= PCI_BASE_ADDRESS_MEM_TYPE_64;
|
||||
|
Loading…
x
Reference in New Issue
Block a user