From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 27 Feb 2018 17:31:30 -0500 Subject: [U-Boot] [PATCH v2 1/1] board: am335x: Set serial# variable In-Reply-To: <20180227222615.23935-1-semen.protsenko@linaro.org> References: <20180227222615.23935-1-semen.protsenko@linaro.org> Message-ID: <20180227223130.GD4311@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: