From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web09.4462.1615263959472221181 for ; Mon, 08 Mar 2021 20:25:59 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.88, mailfrom: tien.hock.loh@intel.com) IronPort-SDR: rU0AIR4bb2crFoDIG87l3lZrl78izLu338myYd5igA89L9bvzPFJ9RYTwPdG7xFPu+Pme7wQFo nP/Y9TIGxFLw== X-IronPort-AV: E=McAfee;i="6000,8403,9917"; a="207929551" X-IronPort-AV: E=Sophos;i="5.81,234,1610438400"; d="scan'208";a="207929551" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Mar 2021 20:25:58 -0800 IronPort-SDR: Fa/cucahBnq115iBUZ1DuhaIUPla562MUo5cl2U1nNKgxfA/kUPNMbdobbte41syMHrSVj8UiF /LjBRxkI3B9w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,234,1610438400"; d="scan'208";a="386092773" Received: from pglc00408.png.intel.com ([10.221.235.211]) by orsmga002.jf.intel.com with ESMTP; 08 Mar 2021 20:25:57 -0800 From: "Loh, Tien Hock" To: devel@edk2.groups.io Cc: thloh85@gmail.com Subject: [PATCH v1 0/1] Add support for Designware SDMMC driver Date: Tue, 9 Mar 2021 12:25:52 +0800 Message-Id: <20210309042553.63321-1-tien.hock.loh@intel.com> X-Mailer: git-send-email 2.12.3 From: Loh Tien Hock This adds support for Designware SDMMC driver. The SDMMC driver depends on MdeModulePkg/Bus/Sd/, and produces EFI_SD_MMC_PASS_THRU_PROTOCOL. The driver uses MMIO to read/write, and uses gEdkiiNonDiscoverableDeviceProtocolGuid. Platform needs to register device with gEdkiiNonDiscoverableDeviceProtocolGuid. Tien Hock, Loh (1): EmbeddedPkg: DwMmcHcDxe: Add support for Designware SDMMC driver EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.dec | 40 + EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.inf | 70 + EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.h | 817 ++++++++++ EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHci.h | 985 ++++++++++++ EmbeddedPkg/Drivers/DwMmcHcDxe/ComponentName.c | 214 +++ EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.c | 1305 ++++++++++++++++ EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHci.c | 1603 ++++++++++++++++++++ EmbeddedPkg/Drivers/DwMmcHcDxe/EmmcDevice.c | 1042 +++++++++++++ EmbeddedPkg/Drivers/DwMmcHcDxe/SdDevice.c | 1105 ++++++++++++++ 9 files changed, 7181 insertions(+) create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.dec create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.inf create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.h create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHci.h create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/ComponentName.c create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.c create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHci.c create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/EmmcDevice.c create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/SdDevice.c -- 2.12.3