omap-common: Common get_board_serial function to pass serial through ATAG
authorPaul Kocialkowski <contact@paulk.fr>
Thu, 27 Aug 2015 17:37:14 +0000 (19:37 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 22 Oct 2015 18:18:31 +0000 (14:18 -0400)
commit2da87ab3539264af595d8cb2d6dc7e087f1f1ca7
treeae891c2214a0c5499a80f93a49dbe5a211f5c4c6
parent679f82c349473c894159795c14a7fc0a8db0cd43
omap-common: Common get_board_serial function to pass serial through ATAG

Since there is a common function to grab the serial number from the die id bits,
it makes sense have one to parse that serial number and feed it to the serial
ATAG.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/cpu/armv7/omap-common/utils.c
arch/arm/include/asm/omap_common.h
board/lge/sniper/sniper.c