From patchwork Fri May 1 14:08:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 244739 List-Id: U-Boot discussion From: peng.fan at nxp.com (Peng Fan) Date: Fri, 1 May 2020 22:08:33 +0800 Subject: [PATCH V2 resend 0/4] support i.MX module fuse Message-ID: <20200501140837.10326-1-peng.fan@nxp.com> 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