[coreboot] V2 Orders of Initialization of Devices

Joseph Smith joe at settoplinux.org
Mon Jun 9 14:06:30 CEST 2008




> -----Original Message-----
> From: coreboot-bounces at coreboot.org [mailto:coreboot-bounces at coreboot.org]
> On Behalf Of bari
> Sent: Sunday, June 08, 2008 11:52 PM
> To: joe at settoplinux.org
> Cc: coreboot at coreboot.org
> Subject: Re: [coreboot] V2 Orders of Initialization of Devices
> 
> Joseph Smith wrote:
> >>
> >> Does the order of the devices in /src/maniboard/../../Config.lb
> actually
> >> effect the order in which the devices are initialized in coreboot?
> >>
> >> If not, what is the preferred method if one device or register needs to
> >> be set before others?
> >>
> >>
> >
> > If you need to initialize a device early you can always do it in auto.c,
> but
> > it depends which device it is.....
> > For example, if it is a PCI device, you will need to initialize the PCI
> > bridge first, and then you can initialize the PCI device.
> >
> >
> >
> Yes, but if you don't use auto.c does the order in Config.lb have an
> effect on the order in which registers are written to or read from?
> 

Hmm, only one way to find out. Move some stuff around Config.lb, and compare
the bootlog with past bootlogs. I'd be curious to find out the results.

Thanks,
Joseph Smith
Set-Top-Linux
www.settoplinux.org





More information about the coreboot mailing list