Thread (4 messages) 4 messages, 4 authors, 2012-01-05

Re: [PATCH] fsl/mpic: Document and use the "big-endian" device-tree flag

From: Kumar Gala <hidden>
Date: 2012-01-05 18:39:33
Also in: linuxppc-dev, lkml

On Dec 22, 2011, at 10:25 AM, Kyle Moffett wrote:
The MPIC code checks for a "big-endian" property and sets the flag
MPIC_BIG_ENDIAN if one is present.  Unfortunately, the PowerQUICC-III
compatible device-tree does not specify it, so all of the board ports
need to manually set that flag when calling mpic_alloc().

Document the flag and add it to the pq3 device tree.  Existing code
will still need to pass the MPIC_BIG_ENDIAN flag because their dtb may
not have this property, but new platforms shouldn't need to do so.

Signed-off-by: Kyle Moffett <redacted>
---
.../devicetree/bindings/powerpc/fsl/mpic.txt       |    9 ++++++++-
arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi            |    1 +
2 files changed, 9 insertions(+), 1 deletions(-)
need to update arch/powerpc/boot/dts/fsl/qoriq-mpic.dtsi

- k
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help