Re: Kconfig RTC selection (was: 2.6.25-rc7: Ugh.)

David Brownell
2008-03-28T21:24:25Z

On Friday 28 March 2008, Adrian Bunk wrote:
> >   "JS_RTC" ... a SPARC32 thing
> >       --> bug?? no "js-rtc.c" in the tree!  patch sent
>
> Where's the bug?
> js-rtc is built from rtc.c

In which case, just enable rtc.c ... a "egrep -r 'JS_RTC|js-rtc'"
shows that it looks pretty pointless.

> >...
> >   "DS1302" ... M32R-specific, "rtc-ds1302" should replace it
> >       --> ready to deprecate now?
> >...
>
> Kconfig currently offers rtc-ds1302 only for an sh platform...

Right, I looked at that a bit more. The rtc-ds1302 code was
not written portably. If it were updated to get addresses
from platform resources -- like *normal* platform drivers do,
since the addresses are platform specific -- and if those two
M32R platforms got updated ... *then* this could be deprecated.

- Dave