summaryrefslogtreecommitdiff
path: root/src/soc/qualcomm
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-11-09 15:05:23 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-11-10 21:31:18 +0000
commitaba1c945cd44332521df49228b883c7081723812 (patch)
tree4b0c2c61ba4f222ebe8b48e41c0b038ad0ffd873 /src/soc/qualcomm
parent1d3c2e65724ed92eeef723c1acdc86ba91cbd682 (diff)
/: Remove "ERROR: "/"WARNING: " prefixes from log messages
It is no longer necessary to explicitly add "ERROR: "/"WARNING: " in front of every BIOS_ERR/BIOS_WARN message. Change-Id: I22ee6ae15c3d3a848853c5460b3b3c1795adf2f5 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69405 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/soc/qualcomm')
-rw-r--r--src/soc/qualcomm/sc7280/display/edp_aux.c8
-rw-r--r--src/soc/qualcomm/sc7280/display/edp_ctrl.c6
2 files changed, 7 insertions, 7 deletions
diff --git a/src/soc/qualcomm/sc7280/display/edp_aux.c b/src/soc/qualcomm/sc7280/display/edp_aux.c
index 4e5f7da124..2d2821b382 100644
--- a/src/soc/qualcomm/sc7280/display/edp_aux.c
+++ b/src/soc/qualcomm/sc7280/display/edp_aux.c
@@ -32,13 +32,13 @@ static void edp_wait_for_aux_done(void)
u32 intr_status = 0;
if (!wait_ms(100, read32(&edp_auxclk->status) & EDP_AUX_INTERRUPT)) {
- printk(BIOS_ERR, "ERROR: AUX SEND not acknowledged\n");
+ printk(BIOS_ERR, "AUX SEND not acknowledged\n");
return;
}
intr_status = read32(&edp_auxclk->status);
if (!(intr_status & AUX_INTR_I2C_DONE)) {
- printk(BIOS_ERR, "ERROR: AUX command failed, status = %#x\n", intr_status);
+ printk(BIOS_ERR, "AUX command failed, status = %#x\n", intr_status);
return;
}
@@ -176,7 +176,7 @@ int edp_read_edid(struct edid *out)
err = edp_aux_transfer(EDID_I2C_ADDR, DP_AUX_I2C_READ, edid, EDID_LENGTH);
if (err < EDID_LENGTH) {
- printk(BIOS_ERR, "ERROR: Failed to read EDID. :%d\n", err);
+ printk(BIOS_ERR, "Failed to read EDID. :%d\n", err);
return err;
}
@@ -196,7 +196,7 @@ int edp_read_edid(struct edid *out)
}
if (decode_edid(edid, edid_size, out) != EDID_CONFORMANT) {
- printk(BIOS_ERR, "ERROR: Failed to decode EDID.\n");
+ printk(BIOS_ERR, "Failed to decode EDID.\n");
return CB_ERR;
}
diff --git a/src/soc/qualcomm/sc7280/display/edp_ctrl.c b/src/soc/qualcomm/sc7280/display/edp_ctrl.c
index e9254cc9e8..1455cace90 100644
--- a/src/soc/qualcomm/sc7280/display/edp_ctrl.c
+++ b/src/soc/qualcomm/sc7280/display/edp_ctrl.c
@@ -1375,7 +1375,7 @@ static int edp_ctrl_on(struct edp_ctrl *ctrl, struct edid *edid, uint8_t *dpcd)
if (dpcd[DP_DPCD_REV] >= 0x11) {
ret = edp_aux_transfer(DP_SET_POWER, DP_AUX_NATIVE_READ, &value, 1);
if (ret < 0) {
- printk(BIOS_ERR, "ERROR: edp native read failure\n");
+ printk(BIOS_ERR, "edp native read failure\n");
return -1;
}
@@ -1384,7 +1384,7 @@ static int edp_ctrl_on(struct edp_ctrl *ctrl, struct edid *edid, uint8_t *dpcd)
ret = edp_aux_transfer(DP_SET_POWER, DP_AUX_NATIVE_WRITE, &value, 1);
if (ret < 0) {
- printk(BIOS_ERR, "ERROR: edp native read failure\n");
+ printk(BIOS_ERR, "edp native read failure\n");
return -1;
}
@@ -1401,7 +1401,7 @@ static int edp_ctrl_on(struct edp_ctrl *ctrl, struct edid *edid, uint8_t *dpcd)
/* Start link training */
ret = edp_ctrl_training(ctrl, edid, dpcd);
if (ret != EDP_TRAIN_SUCCESS) {
- printk(BIOS_ERR, "ERROR: edp training failure\n");
+ printk(BIOS_ERR, "edp training failure\n");
return -1;
}