summaryrefslogtreecommitdiff
path: root/src/southbridge/amd/pi/hudson
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-03-07 13:05:14 +0100
committerPatrick Georgi <pgeorgi@google.com>2020-05-26 14:58:51 +0000
commitbfc255a12146a364f0d08ee9818af715a485a579 (patch)
tree9c0f141c655e1f6fc6002d1f1060260f2623f241 /src/southbridge/amd/pi/hudson
parenta1b19de44768d2e2ea483fe7f59de66eee3a3a49 (diff)
src/sb: Use 'print("%s...", __func__)'
Change-Id: Ie0d845d3e501ed5ebeef1997944445d31768e410 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39373 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/southbridge/amd/pi/hudson')
-rw-r--r--src/southbridge/amd/pi/hudson/hudson.c2
-rw-r--r--src/southbridge/amd/pi/hudson/smi.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/amd/pi/hudson/hudson.c b/src/southbridge/amd/pi/hudson/hudson.c
index 63fe473afb..852144b2db 100644
--- a/src/southbridge/amd/pi/hudson/hudson.c
+++ b/src/southbridge/amd/pi/hudson/hudson.c
@@ -26,7 +26,7 @@ int acpi_get_sleep_type(void)
void hudson_enable(struct device *dev)
{
- printk(BIOS_DEBUG, "hudson_enable()\n");
+ printk(BIOS_DEBUG, "%s()\n", __func__);
switch (dev->path.pci.devfn) {
case PCI_DEVFN(0x14, 7): /* SD */
if (dev->enabled == 0) {
diff --git a/src/southbridge/amd/pi/hudson/smi.c b/src/southbridge/amd/pi/hudson/smi.c
index 567a3f89fc..9e6db341fd 100644
--- a/src/southbridge/amd/pi/hudson/smi.c
+++ b/src/southbridge/amd/pi/hudson/smi.c
@@ -12,7 +12,7 @@
void smm_setup_structures(void *gnvs, void *tcg, void *smi1)
{
- printk(BIOS_DEBUG, "smm_setup_structures STUB!!!\n");
+ printk(BIOS_DEBUG, "%s STUB!!!\n", __func__);
}
/** Set the EOS bit and enable SMI generation from southbridge */