aboutsummaryrefslogtreecommitdiff
path: root/hdata
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2014-10-13 15:15:36 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2014-10-15 14:23:24 +1100
commit1bf3a47e28009e4b65e0baef84889922a6bcde6d (patch)
treec9bd2e9f1c7b71dce6fffb9efa77461cdd1d5f30 /hdata
parent324289829343bd11c2c0cc4cdbec80ce81bbf89d (diff)
downloadskiboot-1bf3a47e28009e4b65e0baef84889922a6bcde6d.zip
skiboot-1bf3a47e28009e4b65e0baef84889922a6bcde6d.tar.gz
skiboot-1bf3a47e28009e4b65e0baef84889922a6bcde6d.tar.bz2
Only print SPIRA discovered serial port info at PR_INFO priority
It's certainly not an error that we have a serial port, and not essential to display during boot. Odds are, you already know about the serial port. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata')
-rw-r--r--hdata/spira.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hdata/spira.c b/hdata/spira.c
index 7becdd3..96e9ab6 100644
--- a/hdata/spira.c
+++ b/hdata/spira.c
@@ -777,7 +777,7 @@ static void add_iplparams_serials(const void *iplp, struct dt_node *node)
prerror("IPLPARAMS: No serial ports\n");
return;
}
- prerror("IPLPARAMS: %d serial ports in array\n", count);
+ prlog(PR_INFO, "IPLPARAMS: %d serial ports in array\n", count);
node = dt_new(node, "fsp-serial");
assert(node);
@@ -791,8 +791,8 @@ static void add_iplparams_serials(const void *iplp, struct dt_node *node)
if (!CHECK_SPPTR(ipser))
continue;
rsrc_id = be16_to_cpu(ipser->rsrc_id);
- printf("IPLPARAMS: Serial %d rsrc: %04x loc: %s\n",
- i, rsrc_id, ipser->loc_code);
+ prlog(PR_INFO, "IPLPARAMS: Serial %d rsrc: %04x loc: %s\n",
+ i, rsrc_id, ipser->loc_code);
ser_node = dt_new_addr(node, "serial", rsrc_id);
if (!ser_node)
continue;