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 A827521B02822 for ; Wed, 15 Aug 2018 00:36:59 -0700 (PDT) Received: by mail-pf1-x444.google.com with SMTP id l9-v6so185749pff.9 for ; Wed, 15 Aug 2018 00:36:59 -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=9vC5g6ONonUOH16XvGxjXB96ysVXrhmJyLQ2J6GLMrI=; b=fhugzdDy/XmBm8YEXD5vqtOEgGgJiupvHes/mC71Vbnd4nVVYOTyLrPC8JxiNmElSk AVOiV/CruszCmjjdffFq2jW1vF112lQGBF/v/qdqhJzydtuwaHZB+2k+RNa7XB2QQCjK dF+9dh+DbreWwW1bBdFmeZn6m5N4ia/IUuZig= 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=9vC5g6ONonUOH16XvGxjXB96ysVXrhmJyLQ2J6GLMrI=; b=C4m5jLR4y2yIh0dbJsXAOjkX9cTm27Rl5NPucdvNlxt0aVf6jt6VNKLJ4Lf1jEWKE7 +XqcA7WsDk2vAU0pLj2bdSFLPwVx6pSIDa229R9A6FDD5G+PY3TOW6DhMGzsTnsPHMmZ MK43axX93lA+oRCLXDZ+OV1eHw3rJ/+jwXiSiWsegTFkIlRiuyTImMHCBKWfmCHYf2Iy IusVhXfpJRibcK22xMCh6pwXd8YOjQloXkDhgGIPonXQ2kEVxTtnMl4nGACoixfJWRwX UqE0Dwe0DxN3uOvcv7jp8F0Wqa6nchHd9i3PT3B43XKgJ6VlF7DJIZtOX/gXq1ZQ7EaU igCw== X-Gm-Message-State: AOUpUlHaSNyv8dvRyUOzJvJWa0jdFcyZSUPco7dw5bZgSGPyStznnW4i U+0462/hyx316RN2doanGtJEsj0dXb7q7Q== X-Google-Smtp-Source: AA+uWPxp7D/loqGhvPjoXTZc6eKw9jkQQeaiXzc7HHr+b1jOjleq/mUtpBfUIS6Uh3HGJFUjSzjRpQ== X-Received: by 2002:a62:1f8c:: with SMTP id l12-v6mr27014814pfj.143.1534318618504; Wed, 15 Aug 2018 00:36:58 -0700 (PDT) Received: from localhost.localdomain ([64.64.108.254]) by smtp.gmail.com with ESMTPSA id w2-v6sm22786177pge.44.2018.08.15.00.36.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 15 Aug 2018 00:36:57 -0700 (PDT) From: Haojian Zhuang To: edk2-devel@lists.01.org Date: Wed, 15 Aug 2018 15:36:48 +0800 Message-Id: <1534318611-11461-1-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [PATCH v2 0/3] 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: Wed, 15 Aug 2018 07:36:59 -0000 Changelog: v2: *Split DwMmcHcDxe driver into two patches. One is for PlatformDwMmc protocol, and the other is for DwMmcHcDxe driver. v1: *Add NonDiscoverableDeviceDxe for embedded platform. Make DwMmcHcDxe driver to support both eMMC and SD controller. Haojian Zhuang (3): EmbeddedPkg: add NonDiscoverableDeviceDxe driver EmbeddedPkg: add PlatformDwMmc protocol EmbeddedPkg/Drivers: 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 Cc: Chris Co -- 2.7.4