> >> diff --git a/arch/arm/include/asm/arch-mx5/imx-regs.h >> b/arch/arm/include/asm/arch-mx5/imx-regs.h >> index 0b6249a..93eef48 100644 >> --- a/arch/arm/include/asm/arch-mx5/imx-regs.h >> +++ b/arch/arm/include/asm/arch-mx5/imx-regs.h >> @@ -205,6 +205,9 @@ >> #define BOARD_REV_1_0 0x0 >> #define BOARD_REV_2_0 0x1 >> >> +#define IMX_IIM_BASE (IIM_BASE_ADDR) >> +#define IIM_MAC 0x109 > > Propably we can find a way to use a structure to access to the mac > address, see my last point. >
Do you have any good method to put the mac address into one structure and use that filed to access it? Currently, we only use the MAC fuse, there is a lot of fuse not used? if we defined as bellow, what your comments? struct iim_regs { u32 stat; u32 statm; u32 err; u32 emask; u32 fctl; u32 ua; u32 la; u32 sdat; u32 prev; u32 srev; u32 preg_p; u32 scs0; u32 scs1; u32 scs2; u32 scs3; u32 res0[0x1f1]; u32 iim_bank_area0_1[9]; u32 mac_addr[6]; u32 iim_bank_area0_2[0x11]; u32 res1[0xe0]; u32 iim_bank_area1[0x20]; u32 res2[0xe0]; u32 iim_bank_area2[0x20]; u32 res3[0xe0]; u32 iim_bank_area3[0x20]; u32 res4[0xe0]; }; BR, Jason > > -- > ===================================================================== > DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel > HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany > Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: off...@denx.de > ===================================================================== > _______________________________________________ > U-Boot mailing list > U-Boot@lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot > _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot