cimx/sb800: Log southbridge call-sites
Logging makes it easier to track order of events as these call-sites are scattered on various files. Change-Id: I428547051fd8bf487e91415dc72ee03dba13029e Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/18718 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
7a0aa9a4e0
commit
1498efe2d0
|
@ -277,6 +277,7 @@ static const struct pci_driver gec_driver __pci_driver = {
|
||||||
*/
|
*/
|
||||||
static void sb800_init(void *chip_info)
|
static void sb800_init(void *chip_info)
|
||||||
{
|
{
|
||||||
|
printk(BIOS_DEBUG, "SB800: %s\n", __func__);
|
||||||
sb_config->StdHeader.CALLBACK.CalloutPtr = sb800_callout_entry;
|
sb_config->StdHeader.CALLBACK.CalloutPtr = sb800_callout_entry;
|
||||||
sb800_cimx_config(sb_config);
|
sb800_cimx_config(sb_config);
|
||||||
|
|
||||||
|
@ -289,36 +290,42 @@ static void sb800_init(void *chip_info)
|
||||||
*/
|
*/
|
||||||
void sb_Before_Pci_Init(void)
|
void sb_Before_Pci_Init(void)
|
||||||
{
|
{
|
||||||
|
printk(BIOS_DEBUG, "SB800: %s\n", __func__);
|
||||||
sb_config->StdHeader.Func = SB_BEFORE_PCI_INIT;
|
sb_config->StdHeader.Func = SB_BEFORE_PCI_INIT;
|
||||||
AmdSbDispatcher(sb_config);
|
AmdSbDispatcher(sb_config);
|
||||||
}
|
}
|
||||||
|
|
||||||
void sb_After_Pci_Init(void)
|
void sb_After_Pci_Init(void)
|
||||||
{
|
{
|
||||||
|
printk(BIOS_DEBUG, "SB800: %s\n", __func__);
|
||||||
sb_config->StdHeader.Func = SB_AFTER_PCI_INIT;
|
sb_config->StdHeader.Func = SB_AFTER_PCI_INIT;
|
||||||
AmdSbDispatcher(sb_config);
|
AmdSbDispatcher(sb_config);
|
||||||
}
|
}
|
||||||
|
|
||||||
void sb_Mid_Post_Init(void)
|
void sb_Mid_Post_Init(void)
|
||||||
{
|
{
|
||||||
|
printk(BIOS_DEBUG, "SB800: %s\n", __func__);
|
||||||
sb_config->StdHeader.Func = SB_MID_POST_INIT;
|
sb_config->StdHeader.Func = SB_MID_POST_INIT;
|
||||||
AmdSbDispatcher(sb_config);
|
AmdSbDispatcher(sb_config);
|
||||||
}
|
}
|
||||||
|
|
||||||
void sb_Late_Post(void)
|
void sb_Late_Post(void)
|
||||||
{
|
{
|
||||||
|
printk(BIOS_DEBUG, "SB800: %s\n", __func__);
|
||||||
sb_config->StdHeader.Func = SB_LATE_POST_INIT;
|
sb_config->StdHeader.Func = SB_LATE_POST_INIT;
|
||||||
AmdSbDispatcher(sb_config);
|
AmdSbDispatcher(sb_config);
|
||||||
}
|
}
|
||||||
|
|
||||||
void sb_Before_Pci_Restore_Init(void)
|
void sb_Before_Pci_Restore_Init(void)
|
||||||
{
|
{
|
||||||
|
printk(BIOS_DEBUG, "SB800: %s\n", __func__);
|
||||||
sb_config->StdHeader.Func = SB_BEFORE_PCI_RESTORE_INIT;
|
sb_config->StdHeader.Func = SB_BEFORE_PCI_RESTORE_INIT;
|
||||||
AmdSbDispatcher(sb_config);
|
AmdSbDispatcher(sb_config);
|
||||||
}
|
}
|
||||||
|
|
||||||
void sb_After_Pci_Restore_Init(void)
|
void sb_After_Pci_Restore_Init(void)
|
||||||
{
|
{
|
||||||
|
printk(BIOS_DEBUG, "SB800: %s\n", __func__);
|
||||||
sb_config->StdHeader.Func = SB_AFTER_PCI_RESTORE_INIT;
|
sb_config->StdHeader.Func = SB_AFTER_PCI_RESTORE_INIT;
|
||||||
AmdSbDispatcher(sb_config);
|
AmdSbDispatcher(sb_config);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue