[PATCH v2 0/6] imx: support for the IIM fusebox

Baruch Siach baruch at tkos.co.il
Mon Aug 16 10:10:32 EDT 2010

This patch series adds a driver for the IIM fusebox. As suggested by Sascha 
Hauer, this driver is implemented as a character device, which allows use of 
the standard md/mw commands to access the fuses.

Patches 3 and 6 also add to the fec_imx NIC driver the ability to fetch the MAC 
address from the IIM fusebox.

Changes from v1:

	* Put the imx_iim platform code in the imx25 code instead of the board 
	  code. This avoids code duplication in each board.

	* Move the MAC address fetch code into the imx_iim driver, and use 
	  platform data to pass the MAC address fusebox offset. This avoids 
	  ugly ifdefs in the fec_imx driver.

Baruch Siach (6):
  imx: move IIM registers to their own header
  imx: driver for the IIM fusebox
  imx iim: add mac address support
  imx25: add chip specific IIM fusebox defines
  imx25: add iim platform code
  fec_imx: add support for IIM stored mac address

 arch/arm/mach-imx/Kconfig                   |   18 ++
 arch/arm/mach-imx/Makefile                  |    1 +
 arch/arm/mach-imx/iim.c                     |  311 +++++++++++++++++++++++++++
 arch/arm/mach-imx/imx25.c                   |   44 ++++
 arch/arm/mach-imx/imx35.c                   |    1 +
 arch/arm/mach-imx/include/mach/iim.h        |   55 +++++
 arch/arm/mach-imx/include/mach/imx25-regs.h |    8 +-
 arch/arm/mach-imx/include/mach/imx35-regs.h |   18 --
 drivers/net/fec_imx.c                       |    4 +-
 9 files changed, 439 insertions(+), 21 deletions(-)
 create mode 100644 arch/arm/mach-imx/iim.c
 create mode 100644 arch/arm/mach-imx/include/mach/iim.h

More information about the barebox mailing list