diff options
author | Sam Protsenko <semen.protsenko@linaro.org> | 2018-02-28 00:26:15 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-03-16 09:42:24 -0400 |
commit | fc228dc96c64674bc6fc85635708eb39708fafc4 (patch) | |
tree | 0c592141ad7367d2554475179cc6ea4c4cc1e780 /test/fs/fat-noncontig-test.sh | |
parent | 162a7de5e519eb489003124d3679039d3840435c (diff) |
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>
Diffstat (limited to 'test/fs/fat-noncontig-test.sh')
0 files changed, 0 insertions, 0 deletions