diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2017-03-09 16:25:24 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2017-04-03 06:17:18 +0200 |
commit | 1498efe2d04f13f42bd7c080b7b1c3027a34646b (patch) | |
tree | f39b0c44daabba478899730a1bc0095c42afa35b /src/southbridge/amd | |
parent | 7a0aa9a4e0926b649d0c77aaeb7afd12d9f9f720 (diff) | |
download | coreboot-1498efe2d04f13f42bd7c080b7b1c3027a34646b.tar.xz |
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>
Diffstat (limited to 'src/southbridge/amd')
-rw-r--r-- | src/southbridge/amd/cimx/sb800/late.c | 7 |
1 files changed, 7 insertions, 0 deletions
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); } |