[PATCH v1 5/7] toradex: common: Add sysinfo driver

Francesco Dolcini francesco at dolcini.it
Wed Feb 21 22:16:54 CET 2024


On Wed, Feb 21, 2024 at 04:43:28PM +0100, Igor Opaniuk wrote:
> On Tue, Feb 20, 2024 at 7:31 PM Francesco Dolcini <francesco at dolcini.it> wrote:
> >
> > +       sysinfo {
> > +               compatible = "toradex,sysinfo";
> > +       };
> > +
> Have you considered introducing some common *-u-boot.dtsi include
> and putting such nodes there just to avoid code duplication?

Yes, we discussed internally about this. In pratice it was a trade off between
one line with a well defined and transparent meaning with an opaque include, we
concluded that the current proposal is the best approach.

Francesco



More information about the U-Boot mailing list