Author: stepan Date: 2010-01-16 14:27:39 +0100 (Sat, 16 Jan 2010) New Revision: 5010
Modified: trunk/src/pc80/mc146818rtc.c Log: RTC: Don't drop the alpha specific code but get it in shape for our Kconfig scheme. (trivial) Signed-off-by: Stefan Reinauer <ste...@coresystems.de> Acked-by: Stefan Reinauer <ste...@coresystems.de> Modified: trunk/src/pc80/mc146818rtc.c =================================================================== --- trunk/src/pc80/mc146818rtc.c 2010-01-15 10:07:05 UTC (rev 5009) +++ trunk/src/pc80/mc146818rtc.c 2010-01-16 13:27:39 UTC (rev 5010) @@ -121,15 +121,15 @@ 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) { -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot