RTC: Don't drop the alpha specific code but get it in shape for our Kconfig scheme.
(trivial) Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5010 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
fb333c423e
commit
2fbbea0f30
|
@ -121,15 +121,15 @@ static void rtc_set_checksum(int range_start, int range_end, int cks_loc)
|
|||
cmos_write(((sum >> 0) & 0x0ff), cks_loc+1);
|
||||
}
|
||||
|
||||
#if CONFIG_ARCH_X86
|
||||
#define RTC_CONTROL_DEFAULT (RTC_24H)
|
||||
#define RTC_FREQ_SELECT_DEFAULT (RTC_REF_CLCK_32KHZ | RTC_RATE_1024HZ)
|
||||
|
||||
#if 0 /* alpha setup */
|
||||
#undef RTC_CONTROL_DEFAULT
|
||||
#undef RTC_FREQ_SELECT_DEFAULT
|
||||
#else
|
||||
#if CONFIG_ARCH_ALPHA
|
||||
#define RTC_CONTROL_DEFAULT (RTC_SQWE | RTC_24H)
|
||||
#define RTC_FREQ_SELECT_DEFAULT (RTC_REF_CLCK_32KHZ | RTC_RATE_1024HZ)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
void rtc_init(int invalid)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue