]> git.sur5r.net Git - u-boot/commit
arm: am57xx: Set serial# variable
authorSemen Protsenko <semen.protsenko@linaro.org>
Mon, 13 Feb 2017 17:09:37 +0000 (19:09 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 17 Feb 2017 22:24:34 +0000 (17:24 -0500)
commit7a2af751a005a08c21a697a7295dbe6f928fc980
tree3da3c2167a78a57bc9f1d613c252ec71f5b0561b
parent949123e30a61696610fc70ea89b1387eba0dace4
arm: am57xx: Set serial# variable

serial# variable is used to correctly display device ID in
"fastboot devices". It also can be used further for displaying device ID
in "adb devices" (should be passed as "androidboot.serialno" to kernel
cmdline, via "bootargs" variable).

Serial number generating algorithm is described at [1].

[1] http://lists.denx.de/pipermail/u-boot/2015-March/207462.html

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
board/ti/am57xx/board.c