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

Wolfgang Denk wd at denx.de
Tue Aug 18 21:43:47 CEST 2009


Dear Albin Tonnerre,

In message <1250170272-25909-1-git-send-email-albin.tonnerre at 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 at 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''


More information about the U-Boot mailing list