1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-02-25 01:23:59 +01:00
Files
u-boot-megous/board
Sam Protsenko fc228dc96c board: am335x: Set serial# variable
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>
2018-03-16 09:42:24 -04:00
..
2017-08-16 08:22:18 -04:00
2018-01-28 12:27:32 -05:00
2018-03-09 09:23:10 -05:00
2018-02-04 12:00:58 +01:00
2017-11-29 22:36:59 -05:00
2017-10-16 09:42:51 -04:00
2018-02-18 15:53:48 -07:00
2018-03-13 21:45:37 -04:00
2018-03-16 09:42:24 -04:00