aboutsummaryrefslogtreecommitdiff
path: root/hw/fsp
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2017-11-28 10:56:43 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-11-28 20:39:07 -0600
commit3bdce2b0e293c6996370160eaacb43442dc67588 (patch)
tree5850f4638e7602b2ffae8520c5e701285db02cfb /hw/fsp
parent7fb517898f69ea008077297617e1035827e29417 (diff)
downloadskiboot-3bdce2b0e293c6996370160eaacb43442dc67588.zip
skiboot-3bdce2b0e293c6996370160eaacb43442dc67588.tar.gz
skiboot-3bdce2b0e293c6996370160eaacb43442dc67588.tar.bz2
fsp-elog: Reduce verbosity of elog messages
These messages just fill up the opal console log with useless messages resulting in us losing useful information. They have been like this since the first commit in skiboot. Make them trace. Signed-off-by: Michael Neuling <mikey@neuling.org> Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/fsp')
-rw-r--r--hw/fsp/fsp-elog-read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/fsp/fsp-elog-read.c b/hw/fsp/fsp-elog-read.c
index fb8c753..d441904 100644
--- a/hw/fsp/fsp-elog-read.c
+++ b/hw/fsp/fsp-elog-read.c
@@ -500,7 +500,7 @@ static bool fsp_elog_msg(uint32_t cmd_sub_mod, struct fsp_msg *msg)
log_id = msg->data.words[0];
log_size = msg->data.words[1];
- printf("ELOG: Notified of log 0x%08x (size: %d)\n",
+ prlog(PR_TRACE, "ELOG: Notified of log 0x%08x (size: %d)\n",
log_id, log_size);
/* Make sure we don't cross read buffer size */
@@ -531,7 +531,7 @@ static bool fsp_elog_msg(uint32_t cmd_sub_mod, struct fsp_msg *msg)
fsp_elog_check_and_fetch_head();
} else {
- printf("ELOG: Log entry 0x%08x discarded\n", log_id);
+ prlog(PR_TRACE, "ELOG: Log entry 0x%08x discarded\n", log_id);
/* Unlock if elog_read_free is empty. */
unlock(&elog_read_lock);