diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2022-02-04 19:54:58 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-02-08 16:19:36 +0000 |
commit | 8b627daf80d0e925b771148375f9cb22c100d7e3 (patch) | |
tree | 93d3d3b06c0616f02f60755b536228b0ed150d0e | |
parent | 4db4282e6b81e77d4d8118ec61b9a320e22f6134 (diff) |
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>
-rw-r--r-- | src/mainboard/intel/galileo/reg_access.c | 6 |
1 files changed, 2 insertions, 4 deletions
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; |