[Skiboot] [PATCH] libflash: quieten our logging
Stewart Smith
stewart at linux.ibm.com
Thu Jun 7 15:39:45 AEST 2018
Suggested-by: Joel Stanley <joel at jms.id.au>
Signed-off-by: Stewart Smith <stewart at linux.ibm.com>
---
hw/lpc-mbox.c | 2 +-
libflash/errors.h | 2 +-
libflash/mbox-flash.c | 2 --
3 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/hw/lpc-mbox.c b/hw/lpc-mbox.c
index 4b1d5e526e27..58a99692511e 100644
--- a/hw/lpc-mbox.c
+++ b/hw/lpc-mbox.c
@@ -111,7 +111,7 @@ static void bmc_mbox_send_message(struct bmc_mbox_msg *msg)
*/
/* Ping */
- prlog(PR_DEBUG, "Sending BMC interrupt\n");
+ prlog(PR_TRACE, "Sending BMC interrupt\n");
bmc_mbox_outb(MBOX_CTRL_INT_SEND, MBOX_HOST_CTRL);
}
diff --git a/libflash/errors.h b/libflash/errors.h
index d144e097ea0e..27662c135c50 100644
--- a/libflash/errors.h
+++ b/libflash/errors.h
@@ -37,7 +37,7 @@
#ifdef __SKIBOOT__
#include <skiboot.h>
#define FL_INF(fmt...) do { prlog(PR_INFO, fmt); } while(0)
-#define FL_DBG(fmt...) do { prlog(PR_DEBUG, fmt); } while(0)
+#define FL_DBG(fmt...) do { prlog(PR_TRACE, fmt); } while(0)
#define FL_ERR(fmt...) do { prlog(PR_ERR, fmt); } while(0)
#else
#include <stdio.h>
diff --git a/libflash/mbox-flash.c b/libflash/mbox-flash.c
index 6742d215c039..3239be964b57 100644
--- a/libflash/mbox-flash.c
+++ b/libflash/mbox-flash.c
@@ -665,8 +665,6 @@ static int mbox_window_move(struct mbox_flash_data *mbox_flash,
return 0;
}
- prlog(PR_DEBUG, "Adjusting the window\n");
-
/* V1 needs to remember where it has opened the window, note it
* here.
* If we're running V2 the response to the CREATE_*_WINDOW command
--
2.17.1
More information about the Skiboot
mailing list