From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30089.outbound.protection.outlook.com [40.107.3.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 0F97C21EB5277 for ; Wed, 30 Aug 2017 23:03:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=cDWRL0jbqm4spyBczDpNmy2OL3UoG8vDzh6QGgjS3mM=; b=UPfKuPSN2OEwTze2TSYWJHiALDiQtzkCTn9Fuforc+IA43IJRdAzYbrPGzrO64UHYzEBYovcTdAAd4P/snQQIDgAffG1JF7gOsHKDbRzLWaL1e2Q7gNtYfeaYMWIPcXVavCV9Hx0gGIw33GR4Tlmuh5HYlSV2mWOyDAaXfU4l0g= Received: from VI1PR04MB1005.eurprd04.prod.outlook.com (10.161.108.153) by VI1PR04MB2096.eurprd04.prod.outlook.com (10.166.43.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.13.10; Thu, 31 Aug 2017 06:05:59 +0000 Received: from VI1PR04MB1005.eurprd04.prod.outlook.com ([fe80::10eb:b564:5131:ba2]) by VI1PR04MB1005.eurprd04.prod.outlook.com ([fe80::10eb:b564:5131:ba2%17]) with mapi id 15.20.0013.011; Thu, 31 Aug 2017 06:05:58 +0000 From: Meenakshi Aggarwal To: "edk2-devel@lists.01.org" CC: Meenakshi Aggarwal , Ard Biesheuvel , "leif.lindholm@linaro.org" Thread-Topic: [PATCH 1/2] MMC : Recieve response was missing after CMD12 Thread-Index: AQHTIWqC6Cg1RrtcSEuXk6DRNCbZfaKd+xdw Date: Thu, 31 Aug 2017 06:05:57 +0000 Message-ID: References: <1504102859-13477-1-git-send-email-meenakshi.aggarwal@nxp.com> In-Reply-To: <1504102859-13477-1-git-send-email-meenakshi.aggarwal@nxp.com> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=meenakshi.aggarwal@nxp.com; x-originating-ip: [192.88.169.1] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR04MB2096; 6:wdmRCkAHl2pbA1v2iLoZvzBViAfFWpqOnSV2AEUN9sV5kdopp+GFgDCijgpCTXBSXEhEuWU4sLCQQOm+QfcUEIvZvZh9sAAmwAf1Xg/2GhJM1uiqoS+s3iovECVccNGB9bLzl6hRK9MSSX2crte2aVppnvagQfwp7lukyfaAvMj0x1AtJLqteu1qZnq5fxiY7fA+nZvA7NG3s4pI+9FNuFCXk1cgOWS9WHgCpvz8NCyjZT9UF6TTd8//W2/5mtPBwJh3Jx90AHcg2HLaOEv4ZebIYwBQ1GqJXZ4Lg3zapBTArYPtRvhCxA3R3KzOKjjHN4hgdmlKkqFW1pkSo0OPGw==; 5:HYABbHsSbCtf6XOWsm+l5fExrIp/+esV5IxnoAXn7Um5WRPXVBrXZX7sTa9Uu+krHaivvMKrAyt7+2RgtK4lB/ZQxQFzW1PbJjfvclMR64ZnVQ5JYbnFaEiBeUlmkdK6lO1C/C2tyzbz/nz0EeiAZQ==; 24:VArJmDrYpwhZ5F6GfQMSxMWoQ57DGjI94MUuO2WbtJtC06WVopRivaVLIY8/VBR51zhE0epgApCfXsWWT5Adzg/KJs9jvhRKSdiOCm4lxtA=; 7:qXuOhYOqnB3v/dfR3m0NGPunO2GxNzUIAr64R2VuNkrmvzZeZK1pKs/XP2WfIkl2uHruuTdrlXYPQonMyQ7YIGP/Or1FR3Sm/SX/f/nLVWnKEKSYD3hByPX4lLOcRfR9zzCKM4U5lf/0mvHqiptYRq5CgZOuxCf1EULznltV5yT63cJ+4OPwoXJDC/FX7k7C/rOTrfvxKrT5PcYSljLrzynif6SCEwyW8qytSrabCRE= x-ms-exchange-antispam-srfa-diagnostics: SSOS;SSOR; x-forefront-antispam-report: SFV:SKI; SCL:-1; SFV:NSPM; SFS:(10009020)(6009001)(39860400002)(189002)(377454003)(13464003)(199003)(2950100002)(3846002)(6916009)(110136004)(6116002)(102836003)(53936002)(55016002)(7736002)(305945005)(14454004)(5640700003)(66066001)(4326008)(229853002)(6436002)(6506006)(99286003)(9686003)(53546010)(6246003)(478600001)(54906002)(25786009)(189998001)(2900100001)(33656002)(3280700002)(3660700001)(74316002)(81166006)(7696004)(8676002)(5660300001)(8936002)(2906002)(81156014)(105586002)(106356001)(2351001)(97736004)(68736007)(5250100002)(86362001)(101416001)(50986999)(54356999)(76176999)(2501003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB2096; H:VI1PR04MB1005.eurprd04.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; x-ms-office365-filtering-correlation-id: 921bdb64-819c-42f7-8954-08d4f0365928 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(48565401081)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:VI1PR04MB2096; x-ms-traffictypediagnostic: VI1PR04MB2096: x-exchange-antispam-report-test: UriScan:(185117386973197)(162533806227266); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(93006095)(93001095)(100000703101)(100105400095)(10201501046)(3002001)(6055026)(6041248)(20161123558100)(20161123564025)(20161123555025)(20161123562025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:VI1PR04MB2096; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:VI1PR04MB2096; x-forefront-prvs: 04163EF38A received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Aug 2017 06:05:57.9405 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB2096 Subject: Re: [PATCH 1/2] MMC : Recieve response was missing after CMD12 X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 06:03:22 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, Please review this patch. Thanks & Regards, Meenakshi -----Original Message----- From: Meenakshi Aggarwal [mailto:meenakshi.aggarwal@nxp.com]=20 Sent: Wednesday, August 30, 2017 7:51 PM To: edk2-devel@lists.01.org Cc: Meenakshi Aggarwal Subject: [PATCH 1/2] MMC : Recieve response was missing after CMD12 We are not recieving the response from memory card after sending CMD 12. It= was not resulting in any failure but we should recieve response after send= ing a command. Signed-off-by: Meenakshi Aggarwal --- EmbeddedPkg/Universal/MmcDxe/MmcBlockIo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/EmbeddedPkg/Universal/MmcDxe/MmcBlockIo.c b/EmbeddedPkg/Univer= sal/MmcDxe/MmcBlockIo.c index 403db96..a2b9232 100644 --- a/EmbeddedPkg/Universal/MmcDxe/MmcBlockIo.c +++ b/EmbeddedPkg/Universal/MmcDxe/MmcBlockIo.c @@ -206,6 +206,7 @@ MmcTransferBlock ( if (EFI_ERROR (Status)) { DEBUG ((EFI_D_BLKIO, "%a(): Error and Status:%r\n", __func__, Status= )); } + MmcHost->ReceiveResponse (MmcHost, MMC_RESPONSE_TYPE_R1b,=20 + Response); } =20 Status =3D MmcNotifyState (MmcHostInstance, MmcTransferState); -- 1.9.1