[U-Boot] [PATCH v3 02/10] armv7: add miscellaneous utility macros
Aneesh V
aneesh at ti.com
Wed Jun 15 13:01:22 CEST 2011
Dear Wolfgang,
On Wednesday 15 June 2011 02:50 PM, Wolfgang Denk wrote:
> Dear Aneesh V,
>
> In message<4DF871E3.8080307 at 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().
Will you accept something like this?
a_val = (reg & a_mask) >> a_shift;
best regards,
Aneesh
More information about the U-Boot
mailing list