[LinuxBIOS] where do board-specific superio settings belong?
Ward Vandewege
ward at gnu.org
Fri May 11 23:34:00 CEST 2007
On Fri, May 11, 2007 at 11:46:19AM -0700, yhlu wrote:
> On 5/11/07, Ward Vandewege <ward at gnu.org> wrote:
> >On Tue, May 01, 2007 at 12:59:40PM -0700, yhlu wrote:
> >I tried adding them to mainboard.c, but that is too early in the process;
> >if
> >I add a mainboard_init there (hooked into the init action of
> >mainboard_operations), this code is executed quite a bit before the adt7463
> >chip is enabled, which is not what I want.
> >
> >Is there a way to get mainboard specific code to be executed much later in
> >the boot process, after all devices have been enabled?
>
> two way
> 1. some thing like debug_dev. and you set the in your MB config. the
> device will under mainboard/tyan/s2881/mb
>
> 2. in mainboard.c you allocate one device dynamcally, and make it the
> under second link of root device. that will be the real last one..
Is there an example of another board doing something like this? I'm not sure
I understand the details of this.
Thanks,
Ward.
--
Ward Vandewege <ward at fsf.org>
Free Software Foundation - Senior System Administrator
More information about the coreboot
mailing list