summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/qualcomm/common/qclib.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/soc/qualcomm/common/qclib.c b/src/soc/qualcomm/common/qclib.c
index 561870eaab..cfe3e2ac1e 100644
--- a/src/soc/qualcomm/common/qclib.c
+++ b/src/soc/qualcomm/common/qclib.c
@@ -115,8 +115,11 @@ static void write_qclib_log_to_cbmemc(struct qclib_cb_if_table_entry *te)
int i;
char *ptr = (char *)te->blob_address;
- for (i = 0; i < te->size; i++)
- __cbmemc_tx_byte(*ptr++);
+ for (i = 0; i < te->size; i++) {
+ char c = *ptr++;
+ if (c != '\r')
+ __cbmemc_tx_byte(c);
+ }
}
static void write_table_entry(struct qclib_cb_if_table_entry *te)