From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.31, mailfrom: tien.hock.loh@intel.com) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by groups.io with SMTP; Thu, 02 May 2019 20:27:55 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 May 2019 20:27:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,424,1549958400"; d="scan'208";a="167124689" Received: from pg-iccf0195.altera.com ([10.104.4.90]) by fmsmga002.fm.intel.com with ESMTP; 02 May 2019 20:27:52 -0700 From: "Loh, Tien Hock" To: devel@edk2.groups.io, thloh85@gmail.com Cc: "Tien Hock, Loh" Subject: [[PATCH v2] 0/7] Fix DwEmmc driver bugs Date: Fri, 3 May 2019 11:26:56 +0800 Message-Id: <1556854023-5486-1-git-send-email-tien.hock.loh@intel.com> X-Mailer: git-send-email 2.2.2 From: "Tien Hock, Loh" This fixes a few issues with DwEmmc driver: - - Change SendCommand polling mode and check for DTO when read/write - Add CMD6 for SD support - Clear CTYPE on initialization - Add CMD8 support for SD - Add ACMD51 for SD - Call send command when receive response is called - Add check CRC response only when MMC command supports it - Add support for reading data less than DWEMMC_BLOCK_SIZE Tien Hock, Loh (7): EmbeddedPkg: Fix DwEmmc driver bugs EmbeddedPkg: Fix DwEmmc driver bugs EmbeddedPkg: Fix DwEmmc driver bugs EmbeddedPkg: Fix DwEmmc driver bugs EmbeddedPkg: Fix DwEmmc driver bugs EmbeddedPkg: Fix DwEmmc driver bugs EmbeddedPkg: Fix DwEmmc driver bugs EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.c | 62 +++++++++++++++++++++--- EmbeddedPkg/Include/Protocol/MmcHost.h | 1 + EmbeddedPkg/Universal/MmcDxe/MmcIdentification.c | 2 + 3 files changed, 57 insertions(+), 8 deletions(-) -- 2.2.2