To i.MX chips, for one kind of SoC, it may have different fuse
configuration to control whether the module is usable in the chip.
To make sure one software could run this kind of SoC, we add fuse check.
The patchset is a resend of patchset which was sent near one year ago:
https://patchwork.ozlabs.org/project/uboot/patch/20190801090117.24692-1-peng.fan at nxp.com/
I dropped the R-b/A-b tags since long time.
Peng Fan (4):
imx: add module fuse support
i2c: mxc: add fuse check
usb: mx6: add fuse check
net: fec: add fuse check
arch/arm/include/asm/mach-imx/module_fuse.h | 127 +++++++++++
arch/arm/include/asm/mach-imx/sys_proto.h | 1 +
arch/arm/mach-imx/Kconfig | 7 +
arch/arm/mach-imx/mx6/Makefile | 1 +
arch/arm/mach-imx/mx6/module_fuse.c | 322 ++++++++++++++++++++++++++++
drivers/i2c/mxc_i2c.c | 17 ++
drivers/net/fec_mxc.c | 14 ++
drivers/usb/host/ehci-mx6.c | 16 ++
8 files changed, 505 insertions(+)
create mode 100644 arch/arm/include/asm/mach-imx/module_fuse.h
create mode 100644 arch/arm/mach-imx/mx6/module_fuse.c