lkml.org 
[lkml]   [2009]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [rtc-linux] Re: [PATCH] x86: i2c rtc instead of cmos rtc
On Thu, 29 Jan 2009 13:12:49 -0800
Ed Swierk <eswierk@aristanetworks.com> wrote:

> > I object to options of this kind. It took us a lot of efforts to move
> > to the new i2c model and to the concept that devices have to be declared
> > in the board support code. This kind of hack is in the opposite direction.
>
> I see. I encountered board support code when I worked with PowerPC
> boards on Linux years ago but I haven't seen this in the x86 arch
> code. Can you point me to an example?

Under x86 the thing is not well defined, but you can check

arch/x86/kernel/olpc.c

for an example.

If you just have to load different modules I'd use an initrd
where you can place all the necessary logic to detect your board


--

Best regards,

Alessandro Zummo,
Tower Technologies - Torino, Italy

http://www.towertech.it



\
 
 \ /
  Last update: 2009-01-29 22:23    [W:0.035 / U:0.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site