* Defconfigs and RTC
@ 2008-12-01 8:33 Ralf Baechle
2008-12-01 8:50 ` tiejun.chen
0 siblings, 1 reply; 4+ messages in thread
From: Ralf Baechle @ 2008-12-01 8:33 UTC (permalink / raw)
To: linux-mips
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.
Ralf
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Defconfigs and RTC
2008-12-01 8:33 Defconfigs and RTC Ralf Baechle
@ 2008-12-01 8:50 ` tiejun.chen
2008-12-01 10:51 ` Ralf Baechle
0 siblings, 1 reply; 4+ messages in thread
From: tiejun.chen @ 2008-12-01 8:50 UTC (permalink / raw)
To: Ralf Baechle; +Cc: linux-mips
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.
Best Regards
Tiejun
> Ralf
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Defconfigs and RTC
2008-12-01 8:50 ` tiejun.chen
@ 2008-12-01 10:51 ` Ralf Baechle
2008-12-02 1:32 ` tiejun.chen
0 siblings, 1 reply; 4+ messages in thread
From: Ralf Baechle @ 2008-12-01 10:51 UTC (permalink / raw)
To: tiejun.chen; +Cc: linux-mips
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Defconfigs and RTC
2008-12-01 10:51 ` Ralf Baechle
@ 2008-12-02 1:32 ` tiejun.chen
0 siblings, 0 replies; 4+ messages in thread
From: tiejun.chen @ 2008-12-02 1:32 UTC (permalink / raw)
To: Ralf Baechle; +Cc: linux-mips
Ralf Baechle wrote:
> 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.
>
I meas if we use directly RTC_CLASS on the file, arch/mips/Kconfig, as the
following:
==
config MIPS
bool
default y
select HAVE_IDE
select HAVE_OPROFILE
select HAVE_ARCH_KGDB
# Horrible source of confusion. Die, die, die ...
select EMBEDDED
select RTC_LIB --> RTC_CLASS
===
If so RTC_Class and RTC_HCTOSYS options will be enabled for all platforms by
default as you expect. I think it will be given a hint for the developers that
they should develop their RTC towards supporting RTC_CLASS in the future, not
other choices. And it may be helpful to have an unified RTC mode quickly.
Thanks & Best Regards
Tiejun
> Ralf
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-12-02 1:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-01 8:33 Defconfigs and RTC Ralf Baechle
2008-12-01 8:50 ` tiejun.chen
2008-12-01 10:51 ` Ralf Baechle
2008-12-02 1:32 ` tiejun.chen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.