From 1498efe2d04f13f42bd7c080b7b1c3027a34646b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Thu, 9 Mar 2017 16:25:24 +0200 Subject: cimx/sb800: Log southbridge call-sites MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://review.coreboot.org/18718 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/southbridge/amd/cimx/sb800/late.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/southbridge/amd') diff --git a/src/southbridge/amd/cimx/sb800/late.c b/src/southbridge/amd/cimx/sb800/late.c index a7076a6b61..f4b1769f9a 100644 --- a/src/southbridge/amd/cimx/sb800/late.c +++ b/src/southbridge/amd/cimx/sb800/late.c @@ -277,6 +277,7 @@ static const struct pci_driver gec_driver __pci_driver = { */ static void sb800_init(void *chip_info) { + printk(BIOS_DEBUG, "SB800: %s\n", __func__); sb_config->StdHeader.CALLBACK.CalloutPtr = sb800_callout_entry; sb800_cimx_config(sb_config); @@ -289,36 +290,42 @@ static void sb800_init(void *chip_info) */ void sb_Before_Pci_Init(void) { + printk(BIOS_DEBUG, "SB800: %s\n", __func__); sb_config->StdHeader.Func = SB_BEFORE_PCI_INIT; AmdSbDispatcher(sb_config); } void sb_After_Pci_Init(void) { + printk(BIOS_DEBUG, "SB800: %s\n", __func__); sb_config->StdHeader.Func = SB_AFTER_PCI_INIT; AmdSbDispatcher(sb_config); } void sb_Mid_Post_Init(void) { + printk(BIOS_DEBUG, "SB800: %s\n", __func__); sb_config->StdHeader.Func = SB_MID_POST_INIT; AmdSbDispatcher(sb_config); } void sb_Late_Post(void) { + printk(BIOS_DEBUG, "SB800: %s\n", __func__); sb_config->StdHeader.Func = SB_LATE_POST_INIT; AmdSbDispatcher(sb_config); } void sb_Before_Pci_Restore_Init(void) { + printk(BIOS_DEBUG, "SB800: %s\n", __func__); sb_config->StdHeader.Func = SB_BEFORE_PCI_RESTORE_INIT; AmdSbDispatcher(sb_config); } void sb_After_Pci_Restore_Init(void) { + printk(BIOS_DEBUG, "SB800: %s\n", __func__); sb_config->StdHeader.Func = SB_AFTER_PCI_RESTORE_INIT; AmdSbDispatcher(sb_config); } -- cgit v1.2.3