[PATCH v2 4/6] imx25: add chip specific IIM fusebox defines
Baruch Siach
baruch at tkos.co.il
Mon Aug 16 10:10:36 EDT 2010
Signed-off-by: Baruch Siach <baruch at tkos.co.il>
---
arch/arm/mach-imx/include/mach/imx25-regs.h | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-imx/include/mach/imx25-regs.h b/arch/arm/mach-imx/include/mach/imx25-regs.h
index 7c2b5f9..ac590d9 100644
--- a/arch/arm/mach-imx/include/mach/imx25-regs.h
+++ b/arch/arm/mach-imx/include/mach/imx25-regs.h
@@ -141,7 +141,13 @@
#define WCR_WDE 0x04
/* IIM fuse definitions */
-#define IIM_UID 0x820
+#define IIM_BANK_SIZE 32 /* excluding alignment padding for each row */
+#define IIM_BANK0_BASE (IMX_IIM_BASE + 0x800)
+#define IIM_BANK1_BASE (IMX_IIM_BASE + 0xc00)
+#define IIM_BANK2_BASE (IMX_IIM_BASE + 0x1000)
+
+#define IIM_UID (IIM_BANK0_BASE + 0x20)
+#define IIM_MAC_ADDR (IIM_BANK0_BASE + 0x68)
#endif /* __ASM_ARCH_MX25_REGS_H */
--
1.7.1
More information about the barebox
mailing list