Re: Specifying the console device using an alias
From: Simon Glass <hidden>
Date: 2014-08-15 04:02:10
(correct list) On 14 August 2014 21:42, Simon Glass [off-list ref] wrote:
Hi,
In U-Boot we currently specify the console device (typically serial)
using something like:
aliases {
console = "/serial@1234";
}
But the question has come up as to whether this should be done another
way. I see the "linux.stdout" property in the /chosen node.
I am concerned that making use of the /chosen node in U-Boot might
confuse a lot of people, since this node is normally used to provide
selections for the OS to use when booting. If we did use /chosen, then
linux,stdout seems plain wrong but perhaps u-boot,stdout could be used
instead.
Does anyone have an opinion about this? It would be good to work this
out soon before it proliferates into more code.
Regards,
Simon-- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html