]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
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)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:50:44 +0000 (13:50 +0200)
commit62516f4796c9b73b48d0a9e67f380e98c99b6ea2
tree939f9e7bcf1123954319df9f478832730bb8ba34
parent2dcb63e44f1e76b5ea793be8062304c2b5bfe358
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