Dear Aneesh V, In message <4df871e3.8080...@ti.com> you wrote: > > So, the shift information is embedded in this mask and can be extracted > by finding the first set bit. But in reality my get_bit_field() > function indeed takes both arguments. So it's something like this:
As stated before, I will not accept any bit filed macros like get_bit_field(). 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 Far back in the mists of ancient time, in the great and glorious days of the former Galactic Empire, life was wild, rich and largely tax free. - Douglas Adams, _The Hitchhiker's Guide to the Galaxy_ _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot