Removing device driver code in mainboard.c for Tyan boards?

Li-Ta Lo ollie at lanl.gov
Thu Nov 4 15:11:01 CET 2004


On Thu, 2004-11-04 at 14:22, YhLu wrote:
> I want to print PCI regs after PCI device initialization.
> 
> Where need to put the calling print_pci_regs_all? In hardwaremain ???
> 

Why don't you put the debug device into device/generic/debug ?
And in the mainboard Config.lb you added

	chip device/generic/debug

as the last chip. The device emuleration will call the methods
of the debug device last. And you probably can dump PCI CS registers
in different stages of the enumeration.

Ollie





More information about the coreboot mailing list