From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4864:20::444; helo=mail-pf1-x444.google.com; envelope-from=haojian.zhuang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 15333210EB11E for ; Fri, 10 Aug 2018 01:49:22 -0700 (PDT) Received: by mail-pf1-x444.google.com with SMTP id b11-v6so4215646pfo.3 for ; Fri, 10 Aug 2018 01:49:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=EFB+ymGD3cC4RibJpC5gMdQ9MVrMHjRntK7rFsIT6U4=; b=SrRMPv7n4hFRBQAE9PLhGdd3YuvsdTImMLJTeLK+mEBQi8ill4OwivUXlnm+4HFJRX C6F29AZbRAbecezE32MrFExwfEWr19UMjFJFiVhxgCBfcI/HruPzfjvoLeAR5LlixASh uKcEXYDI2nhFQGw+7DOmlY6FAdkEBnNy0fk7k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=EFB+ymGD3cC4RibJpC5gMdQ9MVrMHjRntK7rFsIT6U4=; b=VcuomqIdsY0MpoiBMT5foGYJi6zwJWyMQRFxxDA3j8B1/a3jZQUHntOAwQmkYqWCOU FqMU0HfahHDU+BsUqNIX7ffd2z1UXWs4MfadjSu8LaeC9a0t6EMtEaeCwdu24peb1lVd KFlzA/RlRsxxEJhobUT2j7igf31gX76SyUPQ+kU2ARfzgM7XNG06gSoB2JCqfCIpZoM+ geuXnchauqOCvD1+wNTleD4GOKX3N6seZgJWy0EHjZFbOwKBTpHoMLyIYvn+w3q4HL6C 9NgOG8yX2s6SCkPOKHxYt3nkxGuqflYJPiQ8KcZ8hZ9hdeHlgm9nSs5ueqwRH5i0XDyG 7+gA== X-Gm-Message-State: AOUpUlGejKR2/ysn5WTN/UXOQxn5xl26s8JiPwuEevgpxZhRjzO1PKXp ri3uzGFEuy/NdluMGTL7DsISFhZuqH4= X-Google-Smtp-Source: AA+uWPyPsCpHlsiPhNGyy/X7U2Jdtl9m8JcJfFbjWkpFtYnMMD7NqR49cKZ1ylM2rKFHjD5vkxGU9Q== X-Received: by 2002:a62:129a:: with SMTP id 26-v6mr6151395pfs.102.1533890961608; Fri, 10 Aug 2018 01:49:21 -0700 (PDT) Received: from localhost.localdomain ([64.64.108.24]) by smtp.gmail.com with ESMTPSA id 82-v6sm23569724pfw.159.2018.08.10.01.49.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Aug 2018 01:49:20 -0700 (PDT) From: Haojian Zhuang To: edk2-devel@lists.01.org Date: Fri, 10 Aug 2018 16:49:13 +0800 Message-Id: <1533890955-13005-1-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [PATCH v1 0/2] add DwMmcHcDxe driver X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Aug 2018 08:49:23 -0000 Changelog: v1: *Add NonDiscoverableDeviceDxe for embedded platform. Make DwMmcHcDxe driver to support both eMMC and SD controller. Haojian Zhuang (2): EmbeddedPkg: add NonDiscoverableDeviceDxe driver EmbeddedPkg: add DwMmcHcDxe driver EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.dec | 40 + EmbeddedPkg/EmbeddedPkg.dec | 1 + EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.inf | 69 + EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/NonDiscoverableDeviceDxe.inf | 52 + EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.h | 815 +++++++ EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHci.h | 983 ++++++++ EmbeddedPkg/Include/Protocol/PlatformDwMmc.h | 79 + EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/NonDiscoverableDeviceIo.h | 92 + EmbeddedPkg/Drivers/DwMmcHcDxe/ComponentName.c | 214 ++ EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.c | 1295 +++++++++++ EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHci.c | 2366 ++++++++++++++++++++ EmbeddedPkg/Drivers/DwMmcHcDxe/EmmcDevice.c | 1042 +++++++++ EmbeddedPkg/Drivers/DwMmcHcDxe/SdDevice.c | 1104 +++++++++ EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/ComponentName.c | 124 + EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/NonDiscoverableDeviceDxe.c | 243 ++ EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/NonDiscoverableDeviceIo.c | 972 ++++++++ 16 files changed, 9491 insertions(+) create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.dec create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.inf create mode 100644 EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/NonDiscoverableDeviceDxe.inf create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHcDxe.h create mode 100644 EmbeddedPkg/Drivers/DwMmcHcDxe/DwMmcHci.h create mode 100644 EmbeddedPkg/Include/Protocol/PlatformDwMmc.h create mode 100644 EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/NonDiscoverableDeviceIo.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 create mode 100644 EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/ComponentName.c create mode 100644 EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/NonDiscoverableDeviceDxe.c create mode 100644 EmbeddedPkg/Universal/NonDiscoverableDeviceDxe/NonDiscoverableDeviceIo.c Cc: Leif Lindholm Cc: Ard Biesheuvel -- 2.7.4