Hi Wolfgang, On Tue, May 17, 2011 at 2:57 PM, Wolfgang Denk <w...@denx.de> wrote: > Dear Aneesh V, > > In message <4dd23561.70...@ti.com> you wrote: >> >> In fact I had searched for a macro for similar needs as my >> set_bit_field() is addressing in Linux Kernel too but didn't find any. > ... >> I couldn't find any utility macros/functions for doing something like >> this. >> >> Please somebody correct me if I am wrong. > > I am not aware of such a functionality in the Linux kernel, either. > > A quick search did not even show any attempts to introduce such macros > to Linux. It appears they don't need such a feature ?
Wolfgang, what's your final take on this. Can I continue to use the utility macros given that I don't have any 'standard' alternative. For register accesses I shall move to setclrbits*() macros that you had suggested. But for bit operations I do not have any alternatives. best regards, Aneesh _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot