[PATCH] ARM: clps711x: Switch to devicetree usage

Sascha Hauer sha at pengutronix.de
Fri May 20 04:38:32 PDT 2022


On Fri, May 20, 2022 at 02:31:42PM +0300, Alexander Shiyan wrote:
> Hello.
> 
> пт, 20 мая 2022 г. в 12:56, Ahmad Fatoum <a.fatoum at pengutronix.de>:
> >
> > Hello,
> >
> > On 20.05.22 10:24, Alexander Shiyan wrote:
> > > This is a complex patch that switches the ARM CLPS711X architecture
> > > to work with the device tree. Includes changes to board initialization
> > > and any architecture drivers used.
> ...
> > > +static __init int clep7212_fixup(void)
> > > +{
> > > +     if (of_machine_is_compatible("cirrus,ep7209"))
> > > +             of_register_fixup(clep7212_dt_fixup, NULL);
> > > +
> > > +     return 0;
> > > +}
> > > +postcore_initcall(clep7212_fixup);
> >
> > You can replace this with the new barebox_set_serial_number(), see:
> > https://git.pengutronix.de/cgit/barebox/commit/?h=next&id=f6756e9ce6f26dc22506e25bd5cf1a4f6a173636
> 
> This change is currently in the next branch, but Ok.

It's in master now.

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list