[U-Boot] [PATCH v2 1/1] imx: Get fec mac address from fuse

Wolfgang Denk wd at denx.de
Tue Nov 16 10:47:44 CET 2010


Dear Jason Liu,

In message <AANLkTi=NZurD4NkjCC6+v0A5rKmXoG6tpFZQqhkyFmFH at mail.gmail.com> you wrote:
>
...
> This is defined according to the IC spec and it should be hw layout.
> We can read such kind of fuse just like read register.  But currently, uboot
> require that all the register array should be included into one
> structure and not
> use the *(offset + base_addr) method, this is also stefano suggestion. But for
> fuse support, there are many fuses but we only use FEC_MAC fuse
> currently, this is why
> I ask how to handle it better in uboot.

I still suggest to have an unstructured entry iim_bank_area0[] in
iim_regs; actually this allows to collapse the 4 areas into an array
of 4 identical ones.

Then provide a separate struct description which declares the usage on
iim_bank_area0.


Um... and can you please stop top-posting / full-quoting? Try and read
http://www.netmeister.org/news/learn2quote.html

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
 The software required `Windows 95 or better', so I installed Linux.


More information about the U-Boot mailing list