public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 1/1] board: am335x: Set serial# variable
Date: Tue, 27 Feb 2018 17:31:30 -0500	[thread overview]
Message-ID: <20180227223130.GD4311@bill-the-cat> (raw)
In-Reply-To: <20180227222615.23935-1-semen.protsenko@linaro.org>

On Wed, Feb 28, 2018 at 12:26:15AM +0200, Sam Protsenko wrote:

> serial# variable is needed to show the device correctly in "fastboot
> devices" output. It's useful when we have several devices (in fastboot
> mode) connected to single host and want to choose which one to flash.
> 
> We can't use omap_die_id_serial() for this, because AM335x lacks
> DIE_ID, as can be seen from AM335x TRM. Let's do next:
>  - reuse board_serial variable (obtained from EEPROM in
>    set_board_info_env() function) to set serial#
>  - if board_serial is "unknown", reuse ethaddr variable to set serial#
> 
> Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>

Reviewed-by: Tom Rini <trini@konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180227/aaea6a3e/attachment.sig>

  reply	other threads:[~2018-02-27 22:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-27 22:26 [U-Boot] [PATCH v2 1/1] board: am335x: Set serial# variable Sam Protsenko
2018-02-27 22:31 ` Tom Rini [this message]
2018-03-14 19:17   ` Sam Protsenko
2018-02-28  3:44 ` Tom Rini
2018-03-16 13:50 ` [U-Boot] [U-Boot,v2,1/1] " Tom Rini

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=20180227223130.GD4311@bill-the-cat \
    --to=trini@konsulko.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox