From patchwork Fri Dec 20 09:33:44 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yibin Gong X-Patchwork-Id: 304020 X-Patchwork-Delegate: agust@denx.de 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 A1A4E2C01EE for ; Fri, 20 Dec 2013 23:41:46 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D2FB74AA2C; Fri, 20 Dec 2013 13:41:43 +0100 (CET) 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 k55mZZMuzKpF; Fri, 20 Dec 2013 13:41:43 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5E1E54A3AF; Fri, 20 Dec 2013 13:41:38 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 662444A9D7 for ; Fri, 20 Dec 2013 10:48:37 +0100 (CET) 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 2ppBkawnEy46 for ; Fri, 20 Dec 2013 10:48:18 +0100 (CET) X-Greylist: delayed 860 seconds by postgrey-1.27 at theia; Fri, 20 Dec 2013 10:48:10 CET X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 BL_NJABL=ERR(-1.5) (only DNSBL check requested) Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2lp0241.outbound.protection.outlook.com [207.46.163.241]) by theia.denx.de (Postfix) with ESMTPS id 3E0454A075 for ; Fri, 20 Dec 2013 10:48:10 +0100 (CET) Received: from BLUPR03MB036.namprd03.prod.outlook.com (10.255.209.148) by BLUPR03MB517.namprd03.prod.outlook.com (10.141.80.141) with Microsoft SMTP Server (TLS) id 15.0.842.7; Fri, 20 Dec 2013 09:33:47 +0000 Received: from BLUPR03MB036.namprd03.prod.outlook.com ([169.254.3.121]) by BLUPR03MB036.namprd03.prod.outlook.com ([169.254.3.121]) with mapi id 15.00.0842.003; Fri, 20 Dec 2013 09:33:46 +0000 From: Yibin Gong To: "Ying.Liu@freescale.com" , "agust@denx.de" Thread-Topic: [PATCH 1/2] video: ipu reg: Correct reserved1 array size in struct ipu_cm Thread-Index: AQHO/WX8djzqFlq6vESMHj71EQXmTJpc0i5g Date: Fri, 20 Dec 2013 09:33:44 +0000 Message-ID: References: <1387531814-6065-1-git-send-email-Ying.Liu@freescale.com> <1387531814-6065-2-git-send-email-Ying.Liu@freescale.com> In-Reply-To: <1387531814-6065-2-git-send-email-Ying.Liu@freescale.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [123.151.195.49] x-forefront-prvs: 0066D63CE6 x-forefront-antispam-report: SFV:NSPM; SFS:(10009001)(377454003)(13464003)(189002)(199002)(50986001)(74316001)(81542001)(76786001)(59766001)(77982001)(76796001)(87266001)(54316002)(87936001)(85306002)(63696002)(79102001)(31966008)(4396001)(49866001)(81342001)(81816001)(47976001)(76576001)(47446002)(74662001)(2656002)(69226001)(53806001)(54356001)(46102001)(66066001)(65816001)(80022001)(51856001)(74366001)(74502001)(33646001)(74876001)(83072002)(85852003)(19580395003)(80976001)(90146001)(56816005)(56776001)(47736001)(76482001)(77096001)(19580405001)(83322001)(81686001)(74706001)(24736002); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB517; H:BLUPR03MB036.namprd03.prod.outlook.com; CLIP:123.151.195.49; FPR:; RD:InfoNoRecords; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-OriginatorOrg: freescale.com X-Mailman-Approved-At: Fri, 20 Dec 2013 13:41:38 +0100 Cc: "u-boot@lists.denx.de" Subject: Re: [U-Boot] [PATCH 1/2] video: ipu reg: Correct reserved1 array size in struct ipu_cm X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Acked-by: Robin Gong -----Original Message----- From: Liu Ying [mailto:Ying.Liu@freescale.com] Sent: Friday, December 20, 2013 5:30 PM To: agust@denx.de Cc: u-boot@lists.denx.de; sbabic@denx.de; Gong Yibin-B38343 Subject: [PATCH 1/2] video: ipu reg: Correct reserved1 array size in struct ipu_cm The array reserved1 as a placeholder in the structure ipu_cm should contain 4 32bit unsigned integer entries instead of 16 ones, because the placeholder is located bewteen the register IPU_CH_DB_MODE_SEL_1 and the register IPU_ALT_CH_DB_MODE_SEL_0 with the address offsets of 0x154 and 0x168 respectively. Reported-by: Robin Gong Cc: Stefano Babic Signed-off-by: Liu Ying --- drivers/video/ipu_regs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.7.9.5 diff --git a/drivers/video/ipu_regs.h b/drivers/video/ipu_regs.h index 73e57ea..b2481a4 100644 --- a/drivers/video/ipu_regs.h +++ b/drivers/video/ipu_regs.h @@ -171,7 +171,7 @@ struct ipu_cm { u32 gpr; u32 reserved0[26]; u32 ch_db_mode_sel[2]; - u32 reserved1[16]; + u32 reserved1[4]; u32 alt_ch_db_mode_sel[2]; u32 reserved2[2]; u32 ch_trb_mode_sel[2];