Convert CONFIG_MCFRTC et al to Kconfig
This converts the following to Kconfig: CONFIG_MCFRTC CONFIG_SYS_MCFRTC_BASE While at it, remove '#undef RTC_DEBUG' from these config files. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -168,6 +168,14 @@ config RTC_MC146818
|
||||
clock with a wide array of features and 50 bytes of general-purpose,
|
||||
battery-backed RAM. The driver supports access to the clock and RAM.
|
||||
|
||||
config MCFRTC
|
||||
bool "Use common CF RTC driver"
|
||||
depends on M68K
|
||||
|
||||
config SYS_MCFRTC_BASE
|
||||
hex "Base address for RTC in immap.h"
|
||||
depends on MCFRTC
|
||||
|
||||
config RTC_M41T62
|
||||
bool "Enable M41T62 driver"
|
||||
help
|
||||
|
||||
@@ -13,10 +13,6 @@
|
||||
|
||||
#undef RTC_DEBUG
|
||||
|
||||
#ifndef CONFIG_SYS_MCFRTC_BASE
|
||||
#error RTC_BASE is not defined!
|
||||
#endif
|
||||
|
||||
#define isleap(y) ((((y) % 4) == 0 && ((y) % 100) != 0) || ((y) % 400) == 0)
|
||||
#define STARTOFTIME 1970
|
||||
|
||||
|
||||
Reference in New Issue
Block a user