[PATCH v4 2/2] arm: mvebu: add Globalscale MOCHAbin support

Robert Marko robert.marko at sartura.hr
Wed Oct 27 21:53:24 CEST 2021


On Wed, Oct 27, 2021 at 9:48 PM Marek Behún <marek.behun at nic.cz> wrote:
>
> On Wed, 27 Oct 2021 21:40:11 +0200
> Robert Marko <robert.marko at sartura.hr> wrote:
>
> > To me, it also doesn't make sense to do it like that as what's the
> > purpose of having stuff that is completely unsupported in U-boot in
> > DTS?
>
> It makes sense because the device tree should compeltely describe the
> device. It doesn't matter if some of it's components don't have U-Boot
> drivers. Devicetree is independent on sw, and should be the same for
> Linux, BSD, and U-Boot.

Trust me, I wish this was true, but I don't see it happening anytime soon
as bindings will always change but it is something to aspire to.
>
> > Also, take a look at other Armada 7k/8k devices, they are all doing it
> > the same way as I am.
>
> Some of them (most?) are, but that's just because we haven't synced
> them yet.
>
> But you don't need to do it now, IMO, if it would take too much work.

The thing is that you cant just copy/paste the Linux DTS, it won't compile
as the SoC DTSI as well as CP DTSI are different.
Otherwise having a -u-boot.dtsi would work and I honestly don't have time
to sync those and then fix all of the regressions.

Regards,
Robert
>
> Marek



-- 
Robert Marko
Staff Embedded Linux Engineer
Sartura Ltd.
Lendavska ulica 16a
10000 Zagreb, Croatia
Email: robert.marko at sartura.hr
Web: www.sartura.hr


More information about the U-Boot mailing list