projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1ab937
)
powerpc/44x: pci: Use PCI_BASE_ADDRESS_MEM_PREFETCH rather than magic value.
author
Tony Breeds
<tony@bakeyournoodle.com>
Wed, 30 Nov 2011 21:39:17 +0000
(21:39 +0000)
committer
Josh Boyer
<jwboyer@gmail.com>
Fri, 9 Dec 2011 12:45:00 +0000
(07:45 -0500)
Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
arch/powerpc/sysdev/ppc4xx_pci.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/sysdev/ppc4xx_pci.c
b/arch/powerpc/sysdev/ppc4xx_pci.c
index 862f11b3821e8eb1abab33e3c1b8ad939dd86197..16f5eba6773db12aea18efb73c602d06067ca02f 100644
(file)
--- a/
arch/powerpc/sysdev/ppc4xx_pci.c
+++ b/
arch/powerpc/sysdev/ppc4xx_pci.c
@@
-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;