Dear Jason Liu, In message <aanlkti=nzurd4nkjcc6+v0a5rkmxog6tpfzqqhkyf...@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: w...@denx.de The software required `Windows 95 or better', so I installed Linux. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot