[Top] [All Lists]

Re: [MIPS] Use generic NTP code for all MIPS platforms

Subject: Re: [MIPS] Use generic NTP code for all MIPS platforms
From: Atsushi Nemoto <>
Date: Tue, 14 Aug 2007 00:32:42 +0900 (JST)
In-reply-to: <S20023068AbXHMO0W/>
Original-recipient: rfc822;
References: <S20023068AbXHMO0W/>
On Mon, 13 Aug 2007 15:26:17 +0100, wrote:
> Author: Ralf Baechle <> Mon Aug 13 15:26:12 2007 +0100
> Commit: 4c1ebc8bc02fa6f30ccddacca7552dc2c8686792
> Gitweb:
> Branch: master
> Signed-off-by: Ralf Baechle <>

With this, we now have this in Kconfig:

        default y

I think there are no point using GENERIC_CMOS_UPDATE for users of the
new-style RTC_CLASS drivers or platforms with no RTC.

There are some possible ways:

A) Make default of GENERIC_CMOS_UPDATE to "n" and select it explicitly
   on platforms which need it.

B) Make default of GENERIC_CMOS_UPDATE depends on CONFIG_RTC_CLASS.

C) set no_sync_cmos_clock to 0 on time_init() if rtc_mips_set_mmss was
   NULL and rtc_mips_set_time and was null_rtc_set_time.

And combinations ot variations of those...

Which are preferred?  Any comments?

Atsushi Nemoto

<Prev in Thread] Current Thread [Next in Thread>