From patchwork Tue Mar 15 09:18:09 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chander Kashyap X-Patchwork-Id: 568 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:43:54 -0000 Delivered-To: patches@linaro.org Received: by 10.151.46.5 with SMTP id y5cs64443ybj; Tue, 15 Mar 2011 02:55:27 -0700 (PDT) Received: by 10.220.210.10 with SMTP id gi10mr660723vcb.45.1300182927031; Tue, 15 Mar 2011 02:55:27 -0700 (PDT) Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by mx.google.com with ESMTP id y13si9691842vch.81.2011.03.15.02.55.26; Tue, 15 Mar 2011 02:55:26 -0700 (PDT) Received-SPF: neutral (google.com: 203.254.224.34 is neither permitted nor denied by best guess record for domain of chander.kashyap@linaro.org) client-ip=203.254.224.34; Authentication-Results: mx.google.com; spf=neutral (google.com: 203.254.224.34 is neither permitted nor denied by best guess record for domain of chander.kashyap@linaro.org) smtp.mail=chander.kashyap@linaro.org Received: from epmmp2 (mailout4.samsung.com [203.254.224.34]) by mailout4.samsung.com (Oracle Communications Messaging Exchange Server 7u4-19.01 64bit (built Sep 7 2010)) with ESMTP id <0LI300NL5EE20T70@mailout4.samsung.com>; Tue, 15 Mar 2011 18:30:02 +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 <0LI300M2GEDV9I@mmp2.samsung.com>; Tue, 15 Mar 2011 18:30:02 +0900 (KST) Date: Tue, 15 Mar 2011 14:48:09 +0530 From: Chander Kashyap Subject: [PATCH] ARMV7: S5PC210: Fixed register offset in mmc.h To: samsung@lists.linaro.org Cc: patches@linaro.org, angus.ainslie@linaro.org Message-id: <1300180689-3058-1-git-send-email-chander.kashyap@linaro.org> X-Mailer: git-send-email 1.7.1 Content-transfer-encoding: 7BIT 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 {