stm32f429: pass the device unique ID in DTB
authorAntonio Borneo <borneo.antonio@gmail.com>
Sun, 19 Jul 2015 14:19:46 +0000 (22:19 +0800)
committerTom Rini <trini@konsulko.com>
Mon, 27 Jul 2015 19:02:14 +0000 (15:02 -0400)
commit089fddfde2cb360ac2d040166301d5ce7af8314e
tree20197d42c8a726023a283499361ab83708db5896
parentb0c8f4a7972ea114654a9bac88fd458f2e2e8636
stm32f429: pass the device unique ID in DTB

Read device unique ID and set environment variable "serial#".
Value would then be passed to kernel through DTB.

To read ID from DTB, kernel is required to have commit:
3f599875e5202986b350618a617527ab441bf206 (ARM: 8355/1: arch: Show
the serial number from devicetree in cpuinfo)
This commit is already mainline since v4.1-rc1.

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
To: Albert Aribaud <albert.u.boot@aribaud.net>
To: Tom Rini <trini@konsulko.com>
To: Kamil Lulko <rev13@wp.pl>
Cc: u-boot@lists.denx.de
arch/arm/include/asm/arch-stm32f4/stm32.h
board/st/stm32f429-discovery/stm32f429-discovery.c
include/configs/stm32f429-discovery.h