src/nb: Use 'print("%s...", __func__)'

Change-Id: I7dd6dd8e8debe1b6419625fca38670be375ef581
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39328
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Elyes HAOUAS
2020-03-05 22:01:17 +01:00
committed by Patrick Georgi
parent 682b166886
commit 3cd4327ad9
5 changed files with 15 additions and 17 deletions

View File

@@ -88,9 +88,9 @@ static int gtt_setup(u8 *mmiobase)
/* verify */
if (read32(mmiobase + PGETBL_CTL) & PGETBL_ENABLED) {
printk(BIOS_DEBUG, "gtt_setup is enabled.\n");
printk(BIOS_DEBUG, "%s is enabled.\n", __func__);
} else {
printk(BIOS_DEBUG, "gtt_setup failed!!!\n");
printk(BIOS_DEBUG, "%s failed!!!\n", __func__);
return 1;
}
write32(mmiobase + GFX_FLSH_CNTL, 0);