From patchwork Tue Oct 25 09:41:41 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 121570 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id A4290B6F8C for ; Tue, 25 Oct 2011 20:49:30 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C51602945D; Tue, 25 Oct 2011 11:49:12 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XGgTr2d7B-nc; Tue, 25 Oct 2011 11:49:12 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 76506295F0; Tue, 25 Oct 2011 11:46:45 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 746252857D for ; Tue, 25 Oct 2011 11:45:59 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZuHa4CeVLlVs for ; Tue, 25 Oct 2011 11:45:58 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-bw0-f44.google.com (mail-bw0-f44.google.com [209.85.214.44]) by theia.denx.de (Postfix) with ESMTPS id 3729E28580 for ; Tue, 25 Oct 2011 11:42:12 +0200 (CEST) Received: by bkas6 with SMTP id s6so244130bka.3 for ; Tue, 25 Oct 2011 02:42:06 -0700 (PDT) Received: by 10.204.7.147 with SMTP id d19mr8574012bkd.35.1319535726776; Tue, 25 Oct 2011 02:42:06 -0700 (PDT) Received: from mashiro.lan (cst-prg-176-30.cust.vodafone.cz. [46.135.176.30]) by mx.google.com with ESMTPS id k6sm26918073bkv.8.2011.10.25.02.42.04 (version=SSLv3 cipher=OTHER); Tue, 25 Oct 2011 02:42:06 -0700 (PDT) From: Marek Vasut To: u-boot@lists.denx.de Date: Tue, 25 Oct 2011 11:41:41 +0200 Message-Id: <1319535702-20929-7-git-send-email-marek.vasut@gmail.com> X-Mailer: git-send-email 1.7.6.3 In-Reply-To: <1319535702-20929-1-git-send-email-marek.vasut@gmail.com> References: <1319535702-20929-1-git-send-email-marek.vasut@gmail.com> Subject: [U-Boot] [PATCH 6/7] GCC4.6: Remove debugX() usage from spc1920 hpi X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Signed-off-by: Marek Vasut Cc: Wolfgang Denk Cc: Simon Glass Cc: Mike Frysinger --- board/spc1920/hpi.c | 68 +++++++++++++++++++++++++------------------------- 1 files changed, 34 insertions(+), 34 deletions(-) diff --git a/board/spc1920/hpi.c b/board/spc1920/hpi.c index 26d0f9c..9d8ec10 100644 --- a/board/spc1920/hpi.c +++ b/board/spc1920/hpi.c @@ -234,13 +234,13 @@ static int hpi_write_inc(u32 addr, u32 *data, u32 count) HPI_HPIA_1 = addr1; HPI_HPIA_2 = addr2; - debugX(4, "writing from data=0x%lx to 0x%lx\n", + debug("writing from data=0x%lx to 0x%lx\n", (ulong)data, (ulong)(data+count)); for(i=0; i> 16) & 0xffff); HPI_HPID_INC_2 = (u16) (data[i] & 0xffff); - debugX(4, "hpi_write_inc: data1=0x%x, data2=0x%x\n", + debug("hpi_write_inc: data1=0x%x, data2=0x%x\n", (u16) ((data[i] >> 16) & 0xffff), (u16) (data[i] & 0xffff)); } @@ -273,7 +273,7 @@ static int hpi_read_inc(u32 addr, u32 *buf, u32 count) for(i=0; i