From patchwork Tue Mar 22 04:27:29 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chander Kashyap X-Patchwork-Id: 87858 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 D4549B6F14 for ; Tue, 22 Mar 2011 16:00:42 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 22A5128098; Tue, 22 Mar 2011 06:00:38 +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 lFRsJtnSM7ZH; Tue, 22 Mar 2011 06:00:37 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2F9E528091; Tue, 22 Mar 2011 06:00:36 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id CE2EF28091 for ; Tue, 22 Mar 2011 06:00:34 +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 0i0YiKA10yTN for ; Tue, 22 Mar 2011 06:00:33 +0100 (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 mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) by theia.denx.de (Postfix) with ESMTP id 101B128090 for ; Tue, 22 Mar 2011 06:00:31 +0100 (CET) Received: from epmmp2 (mailout3.samsung.com [203.254.224.33]) by mailout3.samsung.com (Oracle Communications Messaging Exchange Server 7u4-19.01 64bit (built Sep 7 2010)) with ESMTP id <0LIF001GDZML0H50@mailout3.samsung.com> for u-boot@lists.denx.de; Tue, 22 Mar 2011 13:39:57 +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 <0LIF00521ZMF6B@mmp2.samsung.com> for u-boot@lists.denx.de; Tue, 22 Mar 2011 13:39:57 +0900 (KST) Date: Tue, 22 Mar 2011 09:57:29 +0530 From: Chander Kashyap To: u-boot@lists.denx.de Message-id: <1300768049-12982-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: S5PC110: 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 --- arch/arm/include/asm/arch-s5pc1xx/mmc.h | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/include/asm/arch-s5pc1xx/mmc.h b/arch/arm/include/asm/arch-s5pc1xx/mmc.h index 48de64d..d458d3b 100644 --- a/arch/arm/include/asm/arch-s5pc1xx/mmc.h +++ b/arch/arm/include/asm/arch-s5pc1xx/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[0xFFF02]; + unsigned char res6[0xFFF00]; }; struct mmc_host {