Thread (45 messages) 45 messages, 14 authors, 2008-08-13

Re: [RFC/PATCH 2/3] of: add of_lookup_stdout() utility function

flat view

From: David Miller <davem@davemloft.net>
Date: 2008-08-06 06:32:07

From: Grant Likely <redacted>
Date: Wed, 06 Aug 2008 00:02:44 -0600
of_lookup_stdout() is useful for figuring out what device to use as output
for early boot progress messages.  It returns the node pointed to by the
linux,stdout-path property in the chosen node.

Signed-off-by: Grant Likely <redacted>
On sparc platforms this is obtained differently.  We obtain the 32-bit
instance value of "/chosen/stdout" and convert that into a prom device
node path using "instance-to-path".

If this of_lookup_stdout() is going into generic OF code, it should be
done in a way that works on all platforms.  All of these "linux,*"
properties and node names are powerpc platform specific.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help