From patchwork Mon Mar 21 08:40:45 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chander Kashyap X-Patchwork-Id: 87724 X-Patchwork-Delegate: promsoft@gmail.com 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 77C68B6F2B for ; Mon, 21 Mar 2011 20:03:28 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D20B1280BF; Mon, 21 Mar 2011 10:03:25 +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 7mpIN988bn7X; Mon, 21 Mar 2011 10:03:25 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id AD95A280B6; Mon, 21 Mar 2011 10:03:21 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B4708280B6 for ; Mon, 21 Mar 2011 10:03:19 +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 eHceeDjvT7kT for ; Mon, 21 Mar 2011 10:03:17 +0100 (CET) X-Greylist: delayed 604 seconds by postgrey-1.27 at theia; Mon, 21 Mar 2011 10:03:15 CET 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 mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by theia.denx.de (Postfix) with ESMTP id 0821028086 for ; Mon, 21 Mar 2011 10:03:15 +0100 (CET) Received: from epmmp2 (mailout1.samsung.com [203.254.224.24]) by mailout1.samsung.com (Oracle Communications Messaging Exchange Server 7u4-19.01 64bit (built Sep 7 2010)) with ESMTP id <0LIE008X4GOJJD10@mailout1.samsung.com> for u-boot@lists.denx.de; Mon, 21 Mar 2011 17:53:07 +0900 (KST) Received: from Linaro.sisodomain.com ([107.108.215.143]) by mmp2.samsung.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTPA id <0LIE00KUWGOEX1@mmp2.samsung.com> for u-boot@lists.denx.de; Mon, 21 Mar 2011 17:53:08 +0900 (KST) Date: Mon, 21 Mar 2011 14:10:45 +0530 From: Chander Kashyap To: u-boot@lists.denx.de Message-id: <1300696845-22990-1-git-send-email-chander.kashyap@linaro.org> X-Mailer: git-send-email 1.7.1 Cc: mk7.kang@samsung.com, bjlee@samsung.com Subject: [U-Boot] [PATCH] ARMV7: S5PC210: Fixed register offset in mmc.h 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 MMC controller "control4" register offset set to 0x8C as per data sheet. Added missed out reserved field. Updated padding field size. Signed-off-by: Chander Kashyap Signed-off-by: Tushar Behera --- arch/arm/include/asm/arch-s5pc2xx/mmc.h | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/include/asm/arch-s5pc2xx/mmc.h b/arch/arm/include/asm/arch-s5pc2xx/mmc.h index 528150d..04827ca 100644 --- a/arch/arm/include/asm/arch-s5pc2xx/mmc.h +++ b/arch/arm/include/asm/arch-s5pc2xx/mmc.h @@ -53,10 +53,11 @@ struct s5p_mmc { unsigned char res3[0x34]; unsigned int control2; unsigned int control3; + unsigned char res4[4]; unsigned int control4; - unsigned char res4[0x6e]; + unsigned char res5[0x6e]; unsigned short hcver; - unsigned char res5[0xFF02]; + unsigned char res6[0xFF00]; }; struct mmc_host {