aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2017-06-24 14:17:20 -0500
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-06-26 14:28:58 +1000
commit42a615b1030fe3cef63e070dca92e18c63029017 (patch)
tree196af4ea8dd0d5c4b59075d13015ba189d376e2f /core
parent48ab052e913fe4afa26d67d7159ac7f0ebebde69 (diff)
downloadskiboot-42a615b1030fe3cef63e070dca92e18c63029017.zip
skiboot-42a615b1030fe3cef63e070dca92e18c63029017.tar.gz
skiboot-42a615b1030fe3cef63e070dca92e18c63029017.tar.bz2
flash: Silence some messages
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core')
-rw-r--r--core/flash.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/core/flash.c b/core/flash.c
index 793401c..756fba1 100644
--- a/core/flash.c
+++ b/core/flash.c
@@ -524,7 +524,10 @@ static int flash_load_resource(enum resource_id id, uint32_t subid,
rc = ffs_lookup_part(ffs, name, &ffs_part_num);
if (rc) {
- prerror("FLASH: No %s partition\n", name);
+ /* This is not an error per-se, some partitions
+ * are purposefully absent, don't spam the logs
+ */
+ prlog(PR_DEBUG, "FLASH: No %s partition\n", name);
goto out_free_ffs;
}
rc = ffs_part_info(ffs, ffs_part_num, NULL,
@@ -776,7 +779,8 @@ int flash_start_preload_resource(enum resource_id id, uint32_t subid,
r->len = len;
r->result = OPAL_EMPTY;
- printf("FLASH: Queueing preload of %x/%x\n", r->id, r->subid);
+ prlog(PR_DEBUG, "FLASH: Queueing preload of %x/%x\n",
+ r->id, r->subid);
lock(&flash_load_resource_lock);
if (list_empty(&flash_load_resource_queue)) {