qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/8] i.MX: Standardize debug code
@ 2015-10-21 21:35 Jean-Christophe Dubois
  2015-10-21 21:35 ` [Qemu-devel] [PATCH v2 1/8] i.MX: Standardize i.MX serial debug Jean-Christophe Dubois
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Jean-Christophe Dubois @ 2015-10-21 21:35 UTC (permalink / raw)
  To: qemu-devel, peter.maydell, crosthwaite.peter; +Cc: Jean-Christophe Dubois

We fix all i.MX driver files to use the same type of debug code.

The goal is to have debug code always compiled during build.

We standardize all debug output on the following format:

[QOM_TYPE_NAME]reporting_function: debug message

We also replace IPRINTF with qemu_log_mask(). The qemu_log_mask() output
is following the same format as the above debug.

Jean-Christophe Dubois (8):
  i.MX: Standardize i.MX serial debug.
  i.MX: Standardize i.MX GPIO debug
  i.MX: Standardize i.MX I2C debug
  i.MX: Standardize i.MX AVIC debug
  i.MX: Standardize i.MX CCM debug
  i.MX: Standardize i.MX FEC debug
  i.MX: Standardize i.MX EPIT debug
  i.MX: Standardize i.MX GPT debug

 hw/char/imx_serial.c | 57 +++++++++++++++++++++++----------------------
 hw/gpio/imx_gpio.c   | 19 ++++++++-------
 hw/i2c/imx_i2c.c     | 43 +++++++++++++++++-----------------
 hw/intc/imx_avic.c   | 44 ++++++++++++++---------------------
 hw/misc/imx_ccm.c    | 34 +++++++++++++++++----------
 hw/net/imx_fec.c     | 66 ++++++++++++++++++++++++++--------------------------
 hw/timer/imx_epit.c  | 37 ++++++++++++-----------------
 hw/timer/imx_gpt.c   | 46 +++++++++++++++---------------------
 8 files changed, 168 insertions(+), 178 deletions(-)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-10-22 22:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-21 21:35 [Qemu-devel] [PATCH v2 0/8] i.MX: Standardize debug code Jean-Christophe Dubois
2015-10-21 21:35 ` [Qemu-devel] [PATCH v2 1/8] i.MX: Standardize i.MX serial debug Jean-Christophe Dubois
2015-10-22 22:09   ` Peter Crosthwaite
2015-10-21 21:35 ` [Qemu-devel] [PATCH v2 2/8] i.MX: Standardize i.MX GPIO debug Jean-Christophe Dubois
2015-10-21 21:35 ` [Qemu-devel] [PATCH v2 3/8] i.MX: Standardize i.MX I2C debug Jean-Christophe Dubois
2015-10-21 21:35 ` [Qemu-devel] [PATCH v2 4/8] i.MX: Standardize i.MX AVIC debug Jean-Christophe Dubois
2015-10-21 21:35 ` [Qemu-devel] [PATCH v2 5/8] i.MX: Standardize i.MX CCM debug Jean-Christophe Dubois
2015-10-21 21:35 ` [Qemu-devel] [PATCH v2 6/8] i.MX: Standardize i.MX FEC debug Jean-Christophe Dubois
2015-10-21 21:35 ` [Qemu-devel] [PATCH v2 7/8] i.MX: Standardize i.MX EPIT debug Jean-Christophe Dubois
2015-10-21 21:35 ` [Qemu-devel] [PATCH v2 8/8] i.MX: Standardize i.MX GPT debug Jean-Christophe Dubois

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).