]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: DRA7: Set serial number environment variable
authorDileep Katta <dileep.katta@linaro.org>
Tue, 24 Mar 2015 22:34:51 +0000 (04:04 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 23 Apr 2015 17:59:19 +0000 (13:59 -0400)
commitf12467d1a5d299738c19faeae39d3f093ef67624
treeeb6a951054c17eae33915cfeb8db3bb63a0a0b90
parentbe17d396ffd051703839b896f28cd8dfbb859772
ARM: DRA7: Set serial number environment variable

This patch populates serial number environment variable from
die_id_0 and die_id_1 register values for DRA7xx boards.

The function is added in omap common code so that this can be re-used.

Serial# environment variable will be useful to show correct
information in "fastboot devices" commands.

Ref:
http://git.omapzoom.org/?p=repo/u-boot.git;a=commit;h=a6bcaaf67f6e4bcd97808f53d0ceb4b0c04d583c

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
Signed-off-by: Dileep Katta <dileep.katta@linaro.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/cpu/armv7/omap-common/utils.c
arch/arm/cpu/armv7/omap5/prcm-regs.c
arch/arm/include/asm/omap_common.h
board/ti/dra7xx/evm.c