]> git.baikalelectronics.ru Git - uboot.git/commit
toradex: config block handling
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Wed, 16 Nov 2016 16:49:22 +0000 (17:49 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 28 Nov 2016 20:10:32 +0000 (15:10 -0500)
commit3a79cd6df3e1bce09635d43cddabca0fa5b0379e
tree1f28cb6d01bdcadd62b82363130634604aca3b04
parent56988a48babaa5f80ef4476f7288e6edec3c9ee0
toradex: config block handling

Add Toradex factory configuration block handling. The config block is a
data structure which gets stored to flash during production testing. The
structure holds such information as board resp. hardware revision,
product ID and serial number which is used as the NIC part of the
Ethernet MAC address as well. The config block will be read upon boot by
the show_board_info() function, displayed as part of the board
information and passed to Linux via device tree or ATAGs.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
board/toradex/common/Kconfig [new file with mode: 0644]
board/toradex/common/Makefile [new file with mode: 0644]
board/toradex/common/tdx-cfg-block.c [new file with mode: 0644]
board/toradex/common/tdx-cfg-block.h [new file with mode: 0644]
board/toradex/common/tdx-common.c [new file with mode: 0644]
board/toradex/common/tdx-common.h [new file with mode: 0644]