]> git.baikalelectronics.ru Git - uboot.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)
commit994008a527bfb403286a01741701ab8cb980b223
tree1dd321cf3b94548dc841b60868173e002f947556
parent89203b02e5504f9e1849c2687937b4f92e61b778
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