]> git.sur5r.net Git - u-boot/commit
Replace BCD2BIN and BIN2BCD macros with inline functions
authorAlbin Tonnerre <albin.tonnerre@free-electrons.com>
Thu, 13 Aug 2009 13:31:11 +0000 (15:31 +0200)
committerWolfgang Denk <wd@denx.de>
Tue, 25 Aug 2009 10:57:55 +0000 (12:57 +0200)
commite84aba135ed7145299304ef550e92f08b2c99d7a
treea70c19d295abf01ca9f53f01fb008cab416a6b6e
parent5b53b29bc2e82b80b669f1d2402068c60d7fecd0
Replace BCD2BIN and BIN2BCD macros with inline functions

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>
Acked-by: Stefan Roese <sr@denx.de>
Acked-by: Detlev Zundel <dzu@denx.de>
board/rsdproto/rsdproto.c
drivers/rtc/m41t62.c
drivers/rtc/rtc4543.c
drivers/rtc/s3c44b0_rtc.c
drivers/rtc/x1205.c
include/bcd.h
include/linux/mc146818rtc.h