mbox series

[V2,resend,0/4] support i.MX module fuse

Message ID 20200501140837.10326-1-peng.fan@nxp.com
Headers show
Series support i.MX module fuse | expand

Message

Peng Fan May 1, 2020, 2:08 p.m. UTC
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@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