Messages in this thread | | | Date | Thu, 29 Jan 2009 22:19:25 +0100 | From | Alessandro Zummo <> | Subject | Re: [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
| |