From patchwork Sat May 27 07:16:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haojian Zhuang X-Patchwork-Id: 100594 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp584412qge; Sat, 27 May 2017 00:16:27 -0700 (PDT) X-Received: by 10.55.191.6 with SMTP id p6mr6004179qkf.162.1495869387127; Sat, 27 May 2017 00:16:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495869387; cv=none; d=google.com; s=arc-20160816; b=z+8Kb2w9qcI3HwZ4gcKXPsCRjvhaJgC2npvC5LCq/7/JRzaXVFFmRpqU5pTzsov9QY rgViyfH2Y+VPIwmwRiN3lh/1YQCFw/n5sfSHU6rJwxCIPtFtpG1PZfEm6pJat8bvUQrf qGU0wLzTUFnK1T9MFTFKyAHRkEuGDlwY5Gc5E23hQBXnQHyNATVBdBvrZ7tLh+JnQXSb nUgSS6j/PY7a+x7px8LDYpEsewYmSRrTzcl8J+o292GbrPJkQdzfDqlqKQdzwkRFRpgy XbMy1ogUA0e7ilQiR3VBegzh9+pdOsCMhMsZxrSXi6C4CGNXfZewDq/90z9v5JS25Q9S W5Cg== 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:delivered-to :arc-authentication-results; bh=Kek8LODtct8Y6Nj6p7QAKfFqrTMOaar9svOjj15shBQ=; b=Aqf/oXaxsCzEHuOLf1pN3obSMB1NBCqSObmqQ3EZCPSqyGN4FAfi1w+KS43ZmawQGq zjn7TGVHLA7XnnwcyCxrFsHQ//fP8BcmavrrOV1/PS05E5lCyZeYCaVDBqgyfddN4GFI VCrcVPN8q25zXJ+12qUcwtIg3PG4yLWc6uvIEk9TxUpWY3nobMGM4cqfE2HQV0E3Jfu9 8D2XcOQ/KUWxK/ESTzhJ7FZ8wInB3rHI723v9Kl8DmB44GVG5Eor/A4Uq0QTqzEWd2o6 VKfOvgbyYlCLCoYCbVYpilZlzUWahHB/wJcou50xM2Mo0MxtfwQpLhPCh3e/BTQzF+Jy ZbYw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=linaro-uefi-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id d80si3069248qkg.179.2017.05.27.00.16.26; Sat, 27 May 2017 00:16:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=linaro-uefi-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 3436F60722; Sat, 27 May 2017 07:16:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id BCD1160589; Sat, 27 May 2017 07:16:22 +0000 (UTC) X-Original-To: linaro-uefi@lists.linaro.org Delivered-To: linaro-uefi@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id E12BD6064B; Sat, 27 May 2017 07:16:20 +0000 (UTC) Received: from mail-pf0-f172.google.com (mail-pf0-f172.google.com [209.85.192.172]) by lists.linaro.org (Postfix) with ESMTPS id 2EDA5604F6 for ; Sat, 27 May 2017 07:16:20 +0000 (UTC) Received: by mail-pf0-f172.google.com with SMTP id e193so26753073pfh.0 for ; Sat, 27 May 2017 00:16:20 -0700 (PDT) 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=8T5lDpTln3hbmTaQAzLb9qWmPqQOk9pBAAUMGm11Qxs=; b=d9JfEGPX4mkEKMU/dL/uOToGOO3/9UqXO+dgyxlbCuiYmOftmpvklxVFtO1lpp6+DM Nmx81NrRXrfXqBAPeeMRkdyPUsWbjoWWGO6Y5cpAhlYskg5steuYdvxLn6qmB8P7QvP3 nLH4Rk1YjTY+g/0kjmvZWSN3W72/pEbiurrSM3zuJj4Jkzgx/isIjv53NeTIoZKntxJZ HmC1AMKxbHcQ2n4uomUHYTx9dV63QXcE7x82/dv6IVX9tA4HIdt0yYPH0XjJWBXzUefL I/+5h14Tz9kuH6+fLZxCsz8Se9HSDyvIq+3banF8GsoLAJQxrbkJemGggwsxse5OWPdG jOjw== X-Gm-Message-State: AODbwcB8lF/+o1oWfRArnej6YF7Uc/rH60KXWK+t8t44xZlIHNsuAzzA WJDh1ZoUPT1iaK/kNAQ= X-Received: by 10.84.215.155 with SMTP id l27mr61953384pli.31.1495869379472; Sat, 27 May 2017 00:16:19 -0700 (PDT) Received: from localhost.localdomain ([45.56.159.7]) by smtp.gmail.com with ESMTPSA id v188sm4719762pgv.51.2017.05.27.00.16.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 27 May 2017 00:16:18 -0700 (PDT) From: Haojian Zhuang To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, ard.biesheuvel@linaro.org Date: Sat, 27 May 2017 15:16:11 +0800 Message-Id: <1495869371-25833-1-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [Linaro-uefi] [PATCH] platforms.config: add hikey960 platform X-BeenThere: linaro-uefi@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "For discussions about Linaro-related UEFI development. Not a substitute for edk2-devel." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linaro-uefi-bounces@lists.linaro.org Sender: "Linaro-uefi" Support both v1 and v2 hardware of hikey960 platform. Signed-off-by: Haojian Zhuang --- platforms.config | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/platforms.config b/platforms.config index 5332e0f..0639583 100644 --- a/platforms.config +++ b/platforms.config @@ -210,6 +210,17 @@ SCP_BIN=OpenPlatformPkg/Platforms/Hisilicon/HiKey/Binary/mcuimage.bin # Uncomment this to use UART0 as the OP-TEE Trusted OS console #TOS_BUILDFLAGS=CFG_CONSOLE_UART=0 +[hikey960] +LONGNAME=Hikey960 +DSC=OpenPlatformPkg/Platforms/Hisilicon/HiKey960/HiKey960.dsc +ARCH=AARCH64 +UEFI_BIN=BL33_AP_UEFI.fd +UEFI_IMAGE_DIR=HiKey960 +BUILD_ATF=yes +SCP_BIN=OpenPlatformPkg/Platforms/Hisilicon/HiKey960/Binary/lpm3.img +# Uncomment this to use UART5 as the EDK2 console for v1 hardware +#BUILDFLAGS=-DSERIAL_BASE=0xFDF05000 + [xen64] LONGNAME=AArch64 Xen guest BUILDFLAGS=