From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Wed, 15 Feb 2012 08:56:25 +0100 Subject: [U-Boot] [PATCH] sh: Add bit control functions In-Reply-To: <1329292203-27855-1-git-send-email-nobuhiro.iwamatsu.yj@renesas.com> References: <1329292203-27855-1-git-send-email-nobuhiro.iwamatsu.yj@renesas.com> Message-ID: <4F3B6529.5090802@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Nobuhiro, Nobuhiro Iwamatsu wrote: > This provide bit control functions as clrbits_*, setbits_* and > clrsetbits_*. > > Signed-off-by: Nobuhiro Iwamatsu > --- > arch/sh/include/asm/io.h | 37 +++++++++++++++++++++++++++++++++++++ > 1 files changed, 37 insertions(+), 0 deletions(-) Beside one minor comment: Acked-by: Heiko Schocher > diff --git a/arch/sh/include/asm/io.h b/arch/sh/include/asm/io.h > index ca598a6..79cb098 100644 > --- a/arch/sh/include/asm/io.h > +++ b/arch/sh/include/asm/io.h > @@ -237,6 +237,43 @@ static inline void sync(void) > { > } > > + > +/* Clear and set bits in one shot. These macros can be used to clear and Wrong comment style, please fix. [...] bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany