From patchwork Thu Aug 16 01:49:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haojian Zhuang X-Patchwork-Id: 144298 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1495089ljj; Wed, 15 Aug 2018 18:49:35 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxvDC+0j6HXj+sY4hMSkGRhwyQkuwQDy3HIuTyGeZuvV/+hzcB46c6YJAQSA9McUSbY6Pzo X-Received: by 2002:a65:5a49:: with SMTP id z9-v6mr27159639pgs.244.1534384175202; Wed, 15 Aug 2018 18:49:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534384175; cv=none; d=google.com; s=arc-20160816; b=CGD6SaWt4qvrgWfu96/8j8P8p0bwrumqV3efm4BO8hGOC/yeTFXGbdbIMxcCt4VjfA 1DMcXi//rpRbntfEiUWaaOC+H5g17xcOsj8D7P5DRcJ92fx3R/lz8OCJuv+IWXzIRzDO iFraXGk/mpdAHuOqqSYAyO7BB7lqIcxrXjbByNz0ga/RzJvvp2qHYIxBtsQgpaadsDFF kh7vS7oZpFiv4grckAB+GF1/rYDf9b0A1KQxk5w+fJiKmGvsSjRxVfw4Axnf6GzjQ1b6 0iXDy4onKKqMVXxuMVbMnm7rhZPJGZ/DtC3as4cMhn/XFFpicg6easYTOwjXC6e99T6T eXnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=Rv8Ll9oozNfgLJVLYnBh1n3RZCWPm63Gfqwm1yi1i3k=; b=jVRwLuXz/1ok9M13t5Wr3jkHZ3H+oF8Oin8ChlDDZPiwlCuKeCnQs8SGjFGzXaxeWZ Socwh4HL+Vu7qCiWVgUmyOWXlqFO8RgILcpzDWsJFzH5nm2L2HVAnP7DiAqGVRT/y9wL kCHbUTHDFYYo1erVA/aGNhEQ4nh/exBmRXbBok4qAz+ipsDzitZUbCw8bmGjdKuSs3kJ CalQn38F+tdnq2v1iuLvRsbiMNTca3uUA48ppYFT4D8l63FqZDUi4ic/CQcI5H3pMPUk Dgl/v1WZsc/4O5mJRK+k17YC5+gGHIdpzzQ+P+T4fp1TNuuxWBTNshaO0Ong0T+rRBzP YG1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=TBMLp58B; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id bf10-v6si20874567plb.69.2018.08.15.18.49.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Aug 2018 18:49:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=TBMLp58B; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 5570D210F2D09; Wed, 15 Aug 2018 18:49:34 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4864:20::542; helo=mail-pg1-x542.google.com; envelope-from=haojian.zhuang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) (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 E2AAA21B02822 for ; Wed, 15 Aug 2018 18:49:32 -0700 (PDT) Received: by mail-pg1-x542.google.com with SMTP id a14-v6so1277067pgv.10 for ; Wed, 15 Aug 2018 18:49:32 -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=30gfIJoeQZzvVf4lfUe+Wq+SRagzFktFhsG94neBaq0=; b=TBMLp58B1x85ur8LazwiIby33WSxthfbrjYxxXhiJyuk3i+Jd4U4t25LPv0HMjsw/r xk/VJVwMkr8zz45La9QIt5rU/HoeB2UEqBRTd+79qmycXhMJKV3zZ0aWOXvPxO9DqWbM ub02ppJEnXofoIzgk5sFLAOZduJgQpbFIw2P8= 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=30gfIJoeQZzvVf4lfUe+Wq+SRagzFktFhsG94neBaq0=; b=UoM0AJ75BrfsFMQXKGg24AS9UvVeCfe9tRjZAoHJMos1ZkKmeeV5bxq6n5mAA/fDsp T9beVNd04Pz2bHheH9PonWQ3JuxSKYGu0zBz3ie3q6HFvl2//+3yjycl+7uXOeiNzdNy aNbDV7fHA4uzMysMKwrljmPrR6lDaR2ZGGmcptzMRL8R1QbmD4mbkQRSQGvBJz2j5RmS kxQuVIG17Ao93leXtT0Es2dhfeoduGBeq9+uAGc9vFck3uEBnjJwVv5U6FYmONYEraDY o8/2aGLlJzgSn04BKtJCBrOMD5Gi2fuPrE1xrBbpZD+1wiqn5Vct15unWvI/kl2kHvff uiOQ== X-Gm-Message-State: AOUpUlFq2XAUhJc6tu/HYcj7Zbz0lj0qCEumfRmikjOINm0wT8lc0RcS xo229v79//nyYC8AiBnyjApJHm2NroBVTQ== X-Received: by 2002:a65:41c6:: with SMTP id b6-v6mr26882992pgq.174.1534384172089; Wed, 15 Aug 2018 18:49:32 -0700 (PDT) Received: from localhost.localdomain ([64.64.108.56]) by smtp.gmail.com with ESMTPSA id c1-v6sm45536108pfg.25.2018.08.15.18.49.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 15 Aug 2018 18:49:31 -0700 (PDT) From: Haojian Zhuang To: edk2-devel@lists.01.org Date: Thu, 16 Aug 2018 09:49:23 +0800 Message-Id: <1534384166-15673-1-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [edk2] [PATCH v2 edk-platforms 0/3] enable eMMC/SD controller on HiKey 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: , MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Changelog: v2: * Add more comments in the patch of fixing LDO9_VSET. v1: * Enable eMMC/SD driver on HiKey. * Enable SD driver on HiKey960. Haojian Zhuang (3): Silicon/Hi3660: fix LDO9_VSET register definition Platform/HiKey960: enable SD controller Platform/HiKey: enable SD/MMC controller on HiKey Platform/Hisilicon/HiKey/HiKey.dsc | 17 +-- Platform/Hisilicon/HiKey960/HiKey960.dsc | 8 ++ Platform/Hisilicon/HiKey/HiKey.fdf | 15 ++- Platform/Hisilicon/HiKey960/HiKey960.fdf | 8 ++ Platform/Hisilicon/HiKey/HiKeyDxe/HiKeyDxe.inf | 1 + Platform/Hisilicon/HiKey/HiKeyMmcDxe/HiKeyMmcDxe.inf | 45 +++++++ Platform/Hisilicon/HiKey960/HiKey960Dxe/HiKey960Dxe.inf | 1 + Platform/Hisilicon/HiKey960/HiKey960MmcDxe/HiKey960MmcDxe.inf | 46 +++++++ Silicon/Hisilicon/Hi3660/Include/Hi3660.h | 2 +- Platform/Hisilicon/HiKey/HiKeyDxe/HiKeyDxe.c | 26 ++++ Platform/Hisilicon/HiKey/HiKeyMmcDxe/HiKeyMmcDxe.c | 139 ++++++++++++++++++++ Platform/Hisilicon/HiKey960/HiKey960Dxe/HiKey960Dxe.c | 15 +++ Platform/Hisilicon/HiKey960/HiKey960MmcDxe/HiKey960MmcDxe.c | 125 ++++++++++++++++++ 13 files changed, 431 insertions(+), 17 deletions(-) create mode 100644 Platform/Hisilicon/HiKey/HiKeyMmcDxe/HiKeyMmcDxe.inf create mode 100644 Platform/Hisilicon/HiKey960/HiKey960MmcDxe/HiKey960MmcDxe.inf create mode 100644 Platform/Hisilicon/HiKey/HiKeyMmcDxe/HiKeyMmcDxe.c create mode 100644 Platform/Hisilicon/HiKey960/HiKey960MmcDxe/HiKey960MmcDxe.c Cc: Leif Lindholm Cc: Ard Biesheuvel -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel