From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Tue, 18 Aug 2009 21:43:47 +0200 Subject: [U-Boot] [PATCH 1/2] Replace BCD2BIN and BIN2BCD macros with inline functions In-Reply-To: <1250170272-25909-1-git-send-email-albin.tonnerre@free-electrons.com> References: <1250170272-25909-1-git-send-email-albin.tonnerre@free-electrons.com> Message-ID: <20090818194347.9CF04833DBD2@gemini.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 Dear Albin Tonnerre, In message <1250170272-25909-1-git-send-email-albin.tonnerre@free-electrons.com> you wrote: > In the process, also remove backward-compatiblity macros BIN_TO_BCD and > BCD_TO_BIN and update the sole board using them to use the new bin2bcd > and bcd2bin instead > > Signed-off-by: Albin Tonnerre > --- > board/rsdproto/rsdproto.c | 17 ++++++++--------- > drivers/rtc/m41t62.c | 24 ++++++++++++------------ > drivers/rtc/rtc4543.c | 28 ++++++++++++++-------------- > drivers/rtc/s3c44b0_rtc.c | 42 +++++++++++++++++++++--------------------- > drivers/rtc/x1205.c | 28 ++++++++++++++-------------- > include/bcd.h | 19 ++++++++++++------- > include/linux/mc146818rtc.h | 12 ------------ > 7 files changed, 81 insertions(+), 89 deletions(-) Applied to "next", thanks. 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: wd at denx.de Any sufficiently advanced technology is indistinguishable from magic. Clarke's Third Law - _Profiles of the Future_ (1962; rev. 1973) ``Hazards of Prophecy: The Failure of Imagination''