From 8b627daf80d0e925b771148375f9cb22c100d7e3 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Fri, 4 Feb 2022 19:54:58 +0100 Subject: mb/intel/galileo/reg_access.c: Remove duplicated "ERROR" in log messages Change-Id: I1b4e47cb0f0869ef0a62d1fc6adce4a11ed9b999 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/61635 Tested-by: build bot (Jenkins) Reviewed-by: Raul Rangel --- src/mainboard/intel/galileo/reg_access.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/mainboard/intel') diff --git a/src/mainboard/intel/galileo/reg_access.c b/src/mainboard/intel/galileo/reg_access.c index 9b4df3dd88..c6d5240043 100644 --- a/src/mainboard/intel/galileo/reg_access.c +++ b/src/mainboard/intel/galileo/reg_access.c @@ -18,8 +18,7 @@ static uint64_t reg_read(struct reg_script_context *ctx) step = ctx->step; switch (step->id) { default: - printk(BIOS_ERR, - "ERROR - Unknown register set (0x%08x)!\n", + printk(BIOS_ERR, "Unknown register set (0x%08x)!\n", step->id); ctx->display_features = REG_SCRIPT_DISPLAY_NOTHING; break; @@ -48,8 +47,7 @@ static void reg_write(struct reg_script_context *ctx) step = ctx->step; switch (step->id) { default: - printk(BIOS_ERR, - "ERROR - Unknown register set (0x%08x)!\n", + printk(BIOS_ERR, "Unknown register set (0x%08x)!\n", step->id); ctx->display_features = REG_SCRIPT_DISPLAY_NOTHING; break; -- cgit v1.2.3