From patchwork Fri Aug 24 00:23:10 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaehoon Chung X-Patchwork-Id: 1369161 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 2F313DF2AB for ; Fri, 24 Aug 2012 00:23:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752154Ab2HXAXb (ORCPT ); Thu, 23 Aug 2012 20:23:31 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:33820 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752257Ab2HXAXa (ORCPT ); Thu, 23 Aug 2012 20:23:30 -0400 Received: from epcpsbgm1.samsung.com (mailout3.samsung.com [203.254.224.33]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0M980050PH2FFC40@mailout3.samsung.com> for linux-mmc@vger.kernel.org; Fri, 24 Aug 2012 09:23:27 +0900 (KST) X-AuditID: cbfee61a-b7fc66d0000043b7-6f-5036c97f4c09 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 7B.30.17335.F79C6305; Fri, 24 Aug 2012 09:23:27 +0900 (KST) Received: from [10.90.51.55] by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0M98001QTH32MX90@mmp1.samsung.com> for linux-mmc@vger.kernel.org; Fri, 24 Aug 2012 09:23:27 +0900 (KST) Message-id: <5036C96E.50805@samsung.com> Date: Fri, 24 Aug 2012 09:23:10 +0900 From: Jaehoon Chung User-Agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-version: 1.0 To: linux-mmc Cc: Chris Ball , Kyungmin Park Subject: [PATCH 1/2] mmc: core: prepare the next version of eMMC card Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprILMWRmVeSWpSXmKPExsVy+t9jAd36k2YBBsebuS2O/O9ndGD0+LxJ LoAxissmJTUnsyy1SN8ugSvjfddFtoJbbBXLPvazNDCeZO1i5OCQEDCROLhTtYuRE8gUk7hw bz1bFyMXh5DAIkaJFdufs0M47UwSs/7NYgKp4hXQkHi07SyYzSKgKjHl6HlGEJtNQEdi+7fj YHFRgRCJ63s2MELUC0r8mHyPBcQWEdCU6Ny+kg3EZhbwknj5dhpYjbCAq8TaPVtYIOI6Evtb p0HVyEtsXvOWeQIj3ywko2YhKZuFpGwBI/MqRtHUguSC4qT0XEO94sTc4tK8dL3k/NxNjOCA eia1g3Flg8UhRgEORiUe3h0tZgFCrIllxZW5hxglOJiVRHi/zgcK8aYkVlalFuXHF5XmpBYf YpTmYFES5+XvMwwQEkhPLEnNTk0tSC2CyTJxcEo1MJ5vO7n9tOe3v6uZex5fvfJ2T0XfDmfj GXnfvomWqaf/zeaJSOL3negQtF1b+dHe7RNYGtTeFosfWLp4189HJoL3l2rFTGQ62OGo4Pw9 g/NgbEKwWnv0M69Az1WPyw+unXkqLGJvhYR2pzz/msTCo1oZoRe8l82Qd/icqv0jPMNl5oUd ny8p5SqxFGckGmoxFxUnAgAUu5cQJAIAAA== X-TM-AS-MML: No Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org Now eMMC card is supported up to version 4.5. (eMMC4.5 revision is defined to 0x6 into ext_csr register) But we need to prepare the next version.(eMMCx.0) Signed-off-by: Jaehoon Chung Signed-off-by: Kyungmin Park --- drivers/mmc/core/mmc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c index 396b258..0811fb7 100644 --- a/drivers/mmc/core/mmc.c +++ b/drivers/mmc/core/mmc.c @@ -292,7 +292,7 @@ static int mmc_read_ext_csd(struct mmc_card *card, u8 *ext_csd) } card->ext_csd.rev = ext_csd[EXT_CSD_REV]; - if (card->ext_csd.rev > 6) { + if (card->ext_csd.rev > 7) { pr_err("%s: unrecognised EXT_CSD revision %d\n", mmc_hostname(card->host), card->ext_csd.rev); err = -EINVAL;