projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec88ff8
)
armv8: ls1043a: correct the PCIe INTx fixup
author
Hou Zhiqiang
<Zhiqiang.Hou@nxp.com>
Thu, 20 Dec 2018 06:31:21 +0000
(06:31 +0000)
committer
York Sun
<york.sun@nxp.com>
Thu, 17 Jan 2019 21:16:44 +0000
(13:16 -0800)
On LS1043A rev1.0 there are 4 interrupt pins for INTx, and on
rev1.1 there is only 1 for INTx, so the current fixup is inverse
of the fact.
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/fdt.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv8/fsl-layerscape/fdt.c
b/arch/arm/cpu/armv8/fsl-layerscape/fdt.c
index c9c2c3f6d3e8bb8bf9da86c99918ab1d4df2349e..11117657feada10551d75b5fda42bc6afc0472a1 100644
(file)
--- a/
arch/arm/cpu/armv8/fsl-layerscape/fdt.c
+++ b/
arch/arm/cpu/armv8/fsl-layerscape/fdt.c
@@
-327,7
+327,7
@@
static int _fdt_fixup_pci_msi(void *blob, const char *name, int rev)
memcpy((char *)tmp, p, len);
val = fdt32_to_cpu(tmp[0][6]);
- if (rev
>
REV1_0) {
+ if (rev
==
REV1_0) {
tmp[1][6] = cpu_to_fdt32(val + 1);
tmp[2][6] = cpu_to_fdt32(val + 2);
tmp[3][6] = cpu_to_fdt32(val + 3);