From patchwork Fri Aug 10 08:49:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haojian Zhuang X-Patchwork-Id: 143894 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp3088337ljj; Fri, 10 Aug 2018 01:49:43 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwUOs6I5wPJk+z+bRL9s5VUY4K6KRTXACbnjhIrVfqALOUAYSN+XV+Wabsmq+pCdjIN1K2N X-Received: by 2002:aed:35bd:: with SMTP id c58-v6mr5443341qte.155.1533890983433; Fri, 10 Aug 2018 01:49:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533890983; cv=none; d=google.com; s=arc-20160816; b=B5Z0d9HyxtHq/l23FZGcARf+EajZu4QFlyzeYmCgOZaSOledkXbjjOK2AmcLWRY1QC AgqhR0wriaqRiU4Zoti2a1VltNodckN7m757Vovm4M1PLBTH5/7UG9OH/KubArHECe8b ACtRaXt926YsyFixQBTexuTuOUrt1PwPHMJhQYvjIplQMIaWK/GtxSZwdB6Z32PoROP9 HgezxNN8OYvlXOtPFmf6ZWoB93r2AMK18C2mjTdVbunqWlUkeje6K80xIPkQwzVtlEYl 9BDSygeXrDW6BuRgxN1L6YhwZZp7zccf7e1Iq+SBsrAe1kxwD6hlmBuaAyAAyRo6S1O+ K17Q== 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=wPEDwT8eWei9BUA5QqPfCopv2wYOC9v5+Okvg2X1CQ8=; b=p3HHMLSy4lze/pZ5Xtz4H9fTP31yeXv8eYrimDECYzwqj3p7hfgPMtjq/qvzYNiBJo pnTouQMSoYYrqUggWO9bA2oBPICsjggNzIt6nF7W8wLGByzIRcB2RzhXxT2pXtHL+4MH pzFj3qpRYGK2fzNgjRs8pnVMZ0YubtMIbgiEi0RAx9P/xPjoroEgErqqxBUwMs4CNgdy LQ1jiFMpUkGrG0KzKPoL4GO3vuu7Bdc3bA72kLU/of6/WAqO3XpMDksng3i4ZzVz/OeL EF8GeHXOxuLLbmZEmsDDetD1EiByeuLa9ilnBqnyvJFd6qZawp4leKrWqrTEodcjh0DE w9FA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=GwC4E2oZ; 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 h57-v6si4054855qth.279.2018.08.10.01.49.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Aug 2018 01:49:43 -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=GwC4E2oZ; 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 71E12210EB135; Fri, 10 Aug 2018 01:49:42 -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::442; helo=mail-pf1-x442.google.com; envelope-from=haojian.zhuang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) (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 ED4C1210EB122 for ; Fri, 10 Aug 2018 01:49:40 -0700 (PDT) Received: by mail-pf1-x442.google.com with SMTP id k19-v6so4228390pfi.1 for ; Fri, 10 Aug 2018 01:49:40 -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=nGhuwTEGoLl1kmdE7Z5pd8AHdG4EYv3qmZOAFq2LF/8=; b=GwC4E2oZxFPvErjlSzvcqcedtzQuxf5SDJ9G7i6T84HAH4W6h9IulN18ETcrIo7o4a GumNyHsqdPznf1WVMjbe5ozbp+ql81s3LVzhVou/vFMEYiQCacwxWI6x0TRXpdPxjBFK oMVtvP37NgtkcZCSBw2EXNWXn0TgW7l3sbNGY= 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=nGhuwTEGoLl1kmdE7Z5pd8AHdG4EYv3qmZOAFq2LF/8=; b=QY4kYbMl2kZ6zGdX/LBgW7z26WqdRguSh+DHkrZRKwHs7KLX2x/FeLZZYp8wIsvtAy J3CfLDH3WAAadzVEg9ieZ0TI6w4AtA3b9JkjLrU/NMUURxhZmaTJQ49JL/IpJ/rr8vqZ mD2Lh/J+g6FXKrGZaJWYyBZtH5QEs+N9PfZv9jJhmbq6/fYhT2qRGn3ZZFHFXKdNj0tz b6Fsx5/qGMw2cbWWVqxQHp1/hI/eDCzuMaR5wuy65aPXiKYekyxUOV3YJeyrWdP2YG6m 3HxBrHhqGKYwia/LmaA6jCULLt5UzWRSzB/MitoCqQvwVTtr9o+WRtIsvJv74ecf1GPF y7nA== X-Gm-Message-State: AOUpUlE2uuXXgwhG5YQ0SiUjri5o87eCzAKSUbGld79rvmQIG9l9vDeH J5UiI+PBMUVI3SqTLrF2YfWFBSD1R4w= X-Received: by 2002:a63:e74e:: with SMTP id j14-v6mr5451896pgk.185.1533890980317; Fri, 10 Aug 2018 01:49:40 -0700 (PDT) Received: from localhost.localdomain ([64.64.108.24]) by smtp.gmail.com with ESMTPSA id h9-v6sm9805783pfe.187.2018.08.10.01.49.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Aug 2018 01:49:39 -0700 (PDT) From: Haojian Zhuang To: edk2-devel@lists.01.org Date: Fri, 10 Aug 2018 16:49:32 +0800 Message-Id: <1533890975-13055-1-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [edk2] [PATCH v1 edk-platforms 0/3] enable eMMC/SD driver 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: 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