mb/intel/galileo/reg_access.c: Remove duplicated "ERROR" in log messages

Change-Id: I1b4e47cb0f0869ef0a62d1fc6adce4a11ed9b999
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61635
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
This commit is contained in:
Elyes HAOUAS 2022-02-04 19:54:58 +01:00 committed by Felix Held
parent 4db4282e6b
commit 8b627daf80
1 changed files with 2 additions and 4 deletions

View File

@ -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;