[PATCH v3 1/5] common: add $global.serial_number with device tree fixup
Oleksij Rempel
o.rempel at pengutronix.de
Thu Apr 28 21:52:56 PDT 2022
Hi Ulrich,
On Thu, Apr 28, 2022 at 03:16:05PM +0200, Ulrich Ölmann wrote:
> Hi Oleksij,
>
> On Wed, Apr 27 2022 at 14:14 +0200, Oleksij Rempel <o.rempel at pengutronix.de> wrote:
> > From: Ahmad Fatoum <a.fatoum at pengutronix.de>
> >
> > This new variable can be set by boards from C code or from the
> > environment to change the serial number fixed up into the kernel device
> > tree.
> >
> > Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> > Signed-off-by: Oleksij Rempel <o.rempel at pengutronix.de>
> > ---
> > common/Kconfig | 5 +++++
> > common/misc.c | 16 ++++++++++++++++
> > common/oftree.c | 9 +++++++++
> > include/common.h | 3 +++
> > 4 files changed, 33 insertions(+)
> >
> > diff --git a/common/Kconfig b/common/Kconfig
> > index f7a6a96e87..d08302a573 100644
> > --- a/common/Kconfig
> > +++ b/common/Kconfig
> > @@ -1066,6 +1066,11 @@ config MACHINE_ID
> > Note: if no hashable information is available no machine id will be passed
> > to the kernel.
> >
> > +config SERIAL_NUMBER_FIXUP
> > + bool "fix up board serial number"
> > + help
> > + fixup serial number supplied by board code info device tree
>
> this should be
>
> s/code info device/code into device/
>
> right?
Right. Thank you!
Regards,
Oleksij
--
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