All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Francesco Dolcini <francesco.dolcini@toradex.com>
Cc: U-Boot Mailing List <u-boot@lists.denx.de>,
	Simon Glass <sjg@chromium.org>
Subject: Re: RFC: Adding U-Boot version in FDT chosen node
Date: Tue, 12 Apr 2022 08:35:33 -0500	[thread overview]
Message-ID: <CAL_JsqJbucfOu6GW4qC22qZKsgdjPc0wn3uBQnLuGS=doEOXJQ@mail.gmail.com> (raw)
In-Reply-To: <20220411181755.GB20890@francesco-nb.int.toradex.com>

On Mon, Apr 11, 2022 at 1:18 PM Francesco Dolcini
<francesco.dolcini@toradex.com> wrote:
>
> Hello all,
> I have a need to pass the u-boot version string to the operating
> system and I'm thinking at adding `u-boot,version` property storing
> `version_string` in it in the FDT `chosen` node.
>
> Is this something that would be generally useful? Would be a patch like
> that acceptable in upstream u-boot? Is there any other obvious way to
> achieve something like that already implemented (using the cmdline would
> work without any code change, but probably not the nicest solution).

Seems fine to me. Please add it here[1].

Rob

[1] https://github.com/devicetree-org/dt-schema/blob/main/dtschema/schemas/chosen.yaml

  parent reply	other threads:[~2022-04-12 13:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-11 18:17 RFC: Adding U-Boot version in FDT chosen node Francesco Dolcini
2022-04-11 18:27 ` Sean Anderson
2022-04-12 13:35 ` Rob Herring [this message]
2022-04-20 17:01 ` Francesco Dolcini
2022-04-20 17:33   ` Tom Rini
2022-04-20 21:51   ` Mark Kettenis
2022-04-21  8:34     ` Francesco Dolcini
2022-04-21 10:02       ` Mark Kettenis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAL_JsqJbucfOu6GW4qC22qZKsgdjPc0wn3uBQnLuGS=doEOXJQ@mail.gmail.com' \
    --to=robh@kernel.org \
    --cc=francesco.dolcini@toradex.com \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.