From 3c4750166f0351a5fcbfb77126d87292091f0153 Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Fri, 8 Jul 2022 08:40:57 +0200 Subject: [PATCH] soc/intel/common/block/pmc/pmclib: Use same loglevel as print_num_status_bits Use same log level as print_num_status_bits to make sure the status bits are properly prefix and the newline is added. Change-Id: Ib33798eec7cba601d0d49646c5fc429de5268417 Signed-off-by: Patrick Rudolph Reviewed-on: https://review.coreboot.org/c/coreboot/+/65715 Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans Reviewed-by: Lean Sheng Tan Reviewed-by: Elyes Haouas --- src/soc/intel/common/block/pmc/pmclib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/soc/intel/common/block/pmc/pmclib.c b/src/soc/intel/common/block/pmc/pmclib.c index bfe26c31ca..1662451a18 100644 --- a/src/soc/intel/common/block/pmc/pmclib.c +++ b/src/soc/intel/common/block/pmc/pmclib.c @@ -244,9 +244,9 @@ static uint16_t print_pm1_status(uint16_t pm1_sts) if (!pm1_sts) return 0; - printk(BIOS_SPEW, "PM1_STS: "); + printk(BIOS_DEBUG, "PM1_STS: "); print_num_status_bits(ARRAY_SIZE(pm1_sts_bits), pm1_sts, pm1_sts_bits); - printk(BIOS_SPEW, "\n"); + printk(BIOS_DEBUG, "\n"); return pm1_sts; }