imx: add module fuse support
authorPeng Fan <peng.fan@nxp.com>
Fri, 1 May 2020 14:08:34 +0000 (22:08 +0800)
committerStefano Babic <sbabic@denx.de>
Sun, 10 May 2020 11:21:13 +0000 (13:21 +0200)
commit3c42c0f6734601540bd2be5e83ca12e05079222a
tree28f8a204ea21072b5fdbd1d3cd4ae17d9f8f38e0
parentb52fb0b0b5da80a059ba982139401e57ac4e9a2e
imx: add module fuse support

There are different parts from one SoC. Take i.MX6ULL for example,
some part might not have ENET, some might have; some might not have
USB, some might have. The information could be got from OCOTP,
to make one image support the different parts, we need runtime
disable linux kernel dts node and uboot driver probe if the
corresponding module not exists in the part.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/include/asm/mach-imx/module_fuse.h [new file with mode: 0644]
arch/arm/include/asm/mach-imx/sys_proto.h
arch/arm/mach-imx/Kconfig
arch/arm/mach-imx/mx6/Makefile
arch/arm/mach-imx/mx6/module_fuse.c [new file with mode: 0644]