summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@amd.corp-partner.google.com>2022-10-31 14:59:31 -0500
committerEric Lai <eric_lai@quanta.corp-partner.google.com>2022-11-03 02:04:14 +0000
commit2494e9361da0280ee1fac18b4e8ec540e1607b70 (patch)
tree3ba98af1864968b6c57b5d04eea72a7a9e1fb5d8 /src
parent6397687940f899552c37e77c71d4fe4dd04825ad (diff)
drivers/i2c/generic: Tweak error text for missing HID
- drop ERROR prefix since already provided by cbmem log - make error text more clear about cause of error BUG=none Change-Id: I1795aee240a5383b21108c697e930a2e4972a0b4 Signed-off-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69062 Reviewed-by: Raul Rangel <rrangel@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/drivers/i2c/generic/generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/i2c/generic/generic.c b/src/drivers/i2c/generic/generic.c
index 872891b64b..981c2d9532 100644
--- a/src/drivers/i2c/generic/generic.c
+++ b/src/drivers/i2c/generic/generic.c
@@ -62,7 +62,7 @@ void i2c_generic_fill_ssdt(const struct device *dev,
return;
if (!config->hid) {
- printk(BIOS_ERR, "%s: ERROR: HID required\n", dev_path(dev));
+ printk(BIOS_ERR, "%s: HID required but not set\n", dev_path(dev));
return;
}