linux-mips
[Top] [All Lists]

Re: Defconfigs and RTC

To: "tiejun.chen" <tiejun.chen@windriver.com>
Subject: Re: Defconfigs and RTC
From: Ralf Baechle <ralf@linux-mips.org>
Date: Mon, 1 Dec 2008 10:51:24 +0000
Cc: linux-mips@linux-mips.org
In-reply-to: <4933A546.4020105@windriver.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20081201083307.GA2277@linux-mips.org> <4933A546.4020105@windriver.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.18 (2008-05-17)
On Mon, Dec 01, 2008 at 04:50:14PM +0800, tiejun.chen wrote:

> Ralf Baechle wrote:
> > Quite a few of the defconfigs have not been updated for quite some time
> > and are beginning to be a bit useless.  Also since we switched to RTC_LIB
> > quite a few systems no longer read their RTCs on bootup so their
> > defconfigs should be updated to enable RTC_CLASS and CONFIG_RTC_HCTOSYS.
> > A hand full of systems is still using read_persistent_clock() to read
> > the RTC on bootup.  The use of this function should preferably be replaced
> > by RTC_CLASS and CONFIG_RTC_HCTOSYS.
> > 
> 
> Can we use RTC_CLASS option directly to replace RTC_LIB on the file,
> arch/mips/Kconfig by default? If so all deconfigs may not be modified.

RTC_CLASS implies RTC_LIB.  It's not a replacement.

  Ralf

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