[U-Boot] [PATCH 1/2] Replace BCD2BIN and BIN2BCD macros with inline functions

Wolfgang Denk
2009-08-18T19:43:47Z

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 <albin.tonnerre@free-electrons.com>
> ---
> 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''