summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-mx27
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-12-09 20:52:44 +0100
committerWolfgang Denk <wd@denx.de>2010-12-09 20:52:44 +0100
commitac8983bcba75576c50307b5e8dc8fb848740ee61 (patch)
treee514ad2f915afd2af270d13bce4eb15605887283 /arch/arm/include/asm/arch-mx27
parent7ea23555f5d59457f5998b9f61d7b943b2ea6422 (diff)
parent565e39c57769a45a5eaed5e4c86357e817cf64e1 (diff)
downloadu-boot-imx-ac8983bcba75576c50307b5e8dc8fb848740ee61.zip
u-boot-imx-ac8983bcba75576c50307b5e8dc8fb848740ee61.tar.gz
u-boot-imx-ac8983bcba75576c50307b5e8dc8fb848740ee61.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-imx
Diffstat (limited to 'arch/arm/include/asm/arch-mx27')
-rw-r--r--arch/arm/include/asm/arch-mx27/imx-regs.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/arch/arm/include/asm/arch-mx27/imx-regs.h b/arch/arm/include/asm/arch-mx27/imx-regs.h
index 6ecddaa..8f40aa7 100644
--- a/arch/arm/include/asm/arch-mx27/imx-regs.h
+++ b/arch/arm/include/asm/arch-mx27/imx-regs.h
@@ -34,6 +34,7 @@ extern void mx27_uart_init_pins(void);
#ifdef CONFIG_FEC_MXC
extern void mx27_fec_init_pins(void);
+extern void imx_get_mac_from_fuse(unsigned char *mac);
#endif /* CONFIG_FEC_MXC */
#ifdef CONFIG_MXC_MMC
@@ -202,9 +203,19 @@ struct iim_regs {
u32 iim_scs1;
u32 iim_scs2;
u32 iim_scs3;
- u32 res[0x1F0];
- u32 iim_bank_area0[0x100];
+ u32 res[0x1f1];
+ struct fuse_bank {
+ u32 fuse_regs[0x20];
+ u32 fuse_rsvd[0xe0];
+ } bank[1];
};
+
+struct fuse_bank0_regs {
+ u32 fuse0_3[5];
+ u32 mac_addr[6];
+ u32 fuse10_31[0x16];
+};
+
#endif
#define IMX_IO_BASE 0x10000000
@@ -512,9 +523,4 @@ struct iim_regs {
#define IIM_ERR_SNSE (1 << 2)
#define IIM_ERR_PARITYE (1 << 1)
-/* Definitions for i.MX27 TO2 */
-#define IIM0_MAC 5
-#define IIM0_SCC_KEY 11
-#define IIM1_SUID 1
-
#endif /* _IMX_REGS_H */