Re: is there any continuing value in node "chosen@0"?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 6 Aug 2018, Rob Herring wrote:

> On Mon, Aug 6, 2018 at 6:34 AM Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> wrote:
> >
> >
> >   while the current DTSpec says nothing about the chosen node
> > possibly having a unit-address, if i search the current linux
> > kernel code base, there are a few examples of just that:
> >
> > $ git grep chosen@
> > arch/mips/generic/yamon-dt.c:           chosen_off = fdt_path_offset(fdt, "/chosen@0");
> > arch/mips/generic/yamon-dt.c:           chosen_off = fdt_path_offset(fdt, "/chosen@0");
>
> Nothing MIPS based should need this I think.

  i just submitted a patch to the MIPS list, and they're applying it
to mips-next for 4.19, so i just need to browbeat the PPC folks into
dropping it, and all references to "/chosen@0" can be tossed entirely.

  i love deleting stuff.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                  http://crashcourse.ca/dokuwiki

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux