All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Marek Behún" <kabel@kernel.org>
To: "Pali Rohár" <pali@kernel.org>
Cc: Stefan Roese <sr@denx.de>, u-boot@lists.denx.de
Subject: Re: [PATCH] board: turris: Initialize serial# env
Date: Sun, 28 Aug 2022 05:48:49 +0200	[thread overview]
Message-ID: <20220828054849.39f8742d@thinkpad> (raw)
In-Reply-To: <20220827180630.31933-1-pali@kernel.org>

On Sat, 27 Aug 2022 20:06:30 +0200
Pali Rohár <pali@kernel.org> wrote:

> Store serial number from atsha cryptochip into the serial# env variable.
> U-Boot automatically puts content of this variable into the root device
> tree property serial-number when booting Linux kernel. Refactor turris
> atsha code and from turris_atsha_otp_get_serial_number() function returns
> directly string suitable for printing or storing into device tree. Because
> during different boot stages is env storage read-only, it is not possible
> to always store serial number into env storage. So introduce a new function
> turris_atsha_otp_init_serial_number() which is called at later stage and
> which ensures that serial number is correctly stored into env.
> 
> Signed-off-by: Pali Rohár <pali@kernel.org>

Reviewed-by: Marek Behún <kabel@kernel.org>

  reply	other threads:[~2022-08-28  3:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-27 18:06 [PATCH] board: turris: Initialize serial# env Pali Rohár
2022-08-28  3:48 ` Marek Behún [this message]
2022-08-30 12:26 ` Stefan Roese
2022-09-13  6:59 ` Stefan Roese

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=20220828054849.39f8742d@thinkpad \
    --to=kabel@kernel.org \
    --cc=pali@kernel.org \
    --cc=sr@denx.de \
    --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.