Thread (2 messages) 2 messages, 2 authors, 2007-11-29

Re: qe: fix device tree lookup code in qe_muram_init()

From: Kumar Gala <hidden>
Date: 2007-11-29 22:54:21

On Nov 29, 2007, at 2:29 PM, Timur Tabi wrote:
Function qe_muram_init() was only looking for a node called "data- 
only",
instead of making sure it is the correct node.  This patch modifies
qe_muram_init() to find the QE node first, then the MURAM node  
inside it,
and then the data-only node.  It also reports errors.

Signed-off-by: Timur Tabi <redacted>
---
arch/powerpc/sysdev/qe_lib/qe.c |   39 ++++++++++++++++++++++++++++++ 
+--------
1 files changed, 31 insertions(+), 8 deletions(-)
Add a compatible property in the muram data-only node called "fsl,qe- 
muram-data" and match on that compatible to find the node instead of  
walking the tree like you are. And report an error if there isn't a  
'fsl,qe-muram-data' node

- 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