[PATCH 0/3] arm: mxs: ocotp read support

Wolfram Sang w.sang at pengutronix.de
Thu Apr 5 05:05:38 EDT 2012


Add read support for the OCOTP so we can get MAC addresses. Also fix the
printout once we got it since it doesn't come from an eeprom.

Wolfram Sang (3):
  arm: mxs: add ocotp driver
  arm: mxs: tx28: get MAC from OCOTP
  net: eth: don't say that MAC comes from EEPROM

 arch/arm/boards/karo-tx28/tx28-stk5.c       |   23 +++++
 arch/arm/mach-mxs/Kconfig                   |   14 +++
 arch/arm/mach-mxs/Makefile                  |    1 +
 arch/arm/mach-mxs/include/mach/imx23-regs.h |    1 +
 arch/arm/mach-mxs/include/mach/imx28-regs.h |    1 +
 arch/arm/mach-mxs/include/mach/ocotp.h      |   12 +++
 arch/arm/mach-mxs/ocotp.c                   |  139 +++++++++++++++++++++++++++
 net/eth.c                                   |    2 +-
 8 files changed, 192 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/mach-mxs/include/mach/ocotp.h
 create mode 100644 arch/arm/mach-mxs/ocotp.c

-- 
1.7.9.5




More information about the barebox mailing list