]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx: Add a common way for detecting NXP boards revision
authorFabio Estevam <fabio.estevam@nxp.com>
Mon, 27 Nov 2017 12:25:09 +0000 (10:25 -0200)
committerStefano Babic <sbabic@denx.de>
Fri, 29 Dec 2017 10:18:59 +0000 (11:18 +0100)
commit4555c26142f893aa5d23f95c8eb3982e4a05b334
tree1dd321cf3b94548dc841b60868173e002f947556
parent9a7295831e23fd3ff68b54992cdace1a1c8249e2
imx: Add a common way for detecting NXP boards revision

NXP development boards based on i.MX6/i.MX7 contain the board
revision information stored in the fuses.

Introduce a common function that can be shared by different boards and
convert mx6sabreauto to use this new mechanism.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
arch/arm/include/asm/mach-imx/sys_proto.h
arch/arm/mach-imx/Kconfig
arch/arm/mach-imx/cpu.c
board/freescale/mx6sabreauto/mx6sabreauto.c
configs/mx6sabreauto_defconfig