Re: [U-Boot] [PATCH v2 16/20] x86: Add functions to set and clear bits on MSRs

2015-04-29 Thread Bin Meng
Hi Simon, On Wed, Apr 29, 2015 at 10:25 AM, Simon Glass wrote: > Since we do these sorts of operations a lot, it is useful to have a simpler > API, similar to clrsetbits_le32(). > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > arch/x86/include/asm/msr.h | 19 +++

[U-Boot] [PATCH v2 16/20] x86: Add functions to set and clear bits on MSRs

2015-04-28 Thread Simon Glass
Since we do these sorts of operations a lot, it is useful to have a simpler API, similar to clrsetbits_le32(). Signed-off-by: Simon Glass --- Changes in v2: None arch/x86/include/asm/msr.h | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/x86/include/asm/msr.h b/arc