[U-Boot] [PATCH v2 1/1] board: am335x: Set serial# variable

Sam Protsenko semen.protsenko at linaro.org
Wed Mar 14 19:17:23 UTC 2018


On 28 February 2018 at 00:31, Tom Rini <trini at konsulko.com> wrote:
> 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 at linaro.org>
>
> Reviewed-by: Tom Rini <trini at konsulko.com>
>

Bump. Please merge it if it's ok.

Thanks.

> --
> Tom


More information about the U-Boot mailing list