Skip to content

Commit

Permalink
libflash: quieten our logging
Browse files Browse the repository at this point in the history
Suggested-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
  • Loading branch information
stewartsmith committed Jun 19, 2018
1 parent 8f650b6 commit e50e239
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion hw/lpc-mbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down
2 changes: 1 addition & 1 deletion libflash/errors.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 0 additions & 2 deletions libflash/mbox-flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e50e239

Please sign in to comment.