[SLOF] [PATCH slof v5 3/6] fdt: Pass the resulting device tree to QEMU
segher at kernel.crashing.org
Thu Oct 26 10:51:25 AEDT 2017
On Thu, Oct 19, 2017 at 03:10:16PM +1100, Alexey Kardashevskiy wrote:
> On 18/10/17 20:46, Segher Boessenkool wrote:
> > On Wed, Oct 18, 2017 at 08:34:57PM +1100, Alexey Kardashevskiy wrote:
> >> I need either:
> >> - a variable for the unit address or
I'd choose this one, and make it a global variable, defined quite
early (before the tree is constructed). It should probably be set
early, too. Then later the tree is constructed, and even later
/chosen/cpu is set.
Similar for some other things in /chosen... We want to have a stdout
before we have the corresponding device in the device tree, etc.
Clients of SLOF will find the device via the device tree, but SLOF
itself doesn't have to!
More information about the SLOF