]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:31:11 +0000 (22:31 +0200)
commit94a4416a5b362ea7c992f8612499ee96ccc74579
treefb067452789f22e3c33eb230252533592b05b9f5
parent0c7f320c90b3f1be430ecbdc44531d1a541aedb4
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