libflash: quieten our logging

Message ID 20180607053945.25053-1-stewart@linux.ibm.com
State Accepted
Headers show
Series
  • libflash: quieten our logging
Related show

Commit Message

Stewart Smith June 7, 2018, 5:39 a.m.
Suggested-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
---
 hw/lpc-mbox.c         | 2 +-
 libflash/errors.h     | 2 +-
 libflash/mbox-flash.c | 2 --
 3 files changed, 2 insertions(+), 4 deletions(-)

Comments

Stewart Smith June 19, 2018, 5:41 a.m. | #1
Stewart Smith <stewart@linux.ibm.com> writes:
> Suggested-by: Joel Stanley <joel@jms.id.au>
> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
> ---
>  hw/lpc-mbox.c         | 2 +-
>  libflash/errors.h     | 2 +-
>  libflash/mbox-flash.c | 2 --
>  3 files changed, 2 insertions(+), 4 deletions(-)

Merged to master as of e50e239b75c38efc084aec21969d7060bf6a2e29.

Patch

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