Received: from eggs.gnu.org ([2001:4830:134:3::10]:56175) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zp12x-0005CT-Aa for qemu-devel@nongnu.org; Wed, 21 Oct 2015 17:35:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zp12t-0007XI-76 for qemu-devel@nongnu.org; Wed, 21 Oct 2015 17:35:47 -0400 Received: from zose-mta02.web4all.fr ([185.49.20.43]:55874) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zp12t-0007XD-0S for qemu-devel@nongnu.org; Wed, 21 Oct 2015 17:35:43 -0400 From: Jean-Christophe Dubois Date: Wed, 21 Oct 2015 23:35:32 +0200 Message-Id: Subject: [Qemu-devel] [PATCH v2 0/8] i.MX: Standardize debug code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, peter.maydell@linaro.org, crosthwaite.peter@gmail.com 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