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

From
David Gibson <hidden>
Date
2008-08-07 06:12:54
Reply to
Timur Tabi, 2008-08-06
On Wed, Aug 06, 2008 at 11:46:47AM -0500, Timur Tabi wrote:
On Wed, Aug 6, 2008 at 1:02 AM, Grant Likely [off-list ref] wrote:
quoted
From: Grant Likely <redacted>

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.
I thought linux,stdout-path is deprecated are we're supposed to be
using the aliases node instead?
During the ePAPR process this idea came up - standardising a 'stdout'
alias that would replace linux,stdout-path in chosen.  However that
was done in ignorance of the history of the linux,stdout-path property
and its connection to the stdout ihandle in chosen.  In any case, the
proposed 'stdout' alias didn't make the final cut for ePAPR, so how to
address this for flat-tree systems is still an open question.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson
Thread (45 messages) 45 messages, 14 authors, last reply 2008-08-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help