From patchwork Mon Feb 5 08:59:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haojian Zhuang X-Patchwork-Id: 126831 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp1789175ljc; Mon, 5 Feb 2018 00:59:29 -0800 (PST) X-Google-Smtp-Source: AH8x224FdMGOacZyVO2tzzwLVJfRkN7GJTubOS3Xcj2gB0BvKZuooxniX2oBpGclkl2nbzQy6udH X-Received: by 10.55.214.198 with SMTP id p67mr11430125qkl.213.1517821169183; Mon, 05 Feb 2018 00:59:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517821169; cv=none; d=google.com; s=arc-20160816; b=Zt+rp3yv71Z5mZFBvFx4Oq1ZPLbtS5VUxfsd1Da5X/Jcamc/hC2Fs8DzdcMfQvyeM6 koboLCyCHC8DnO+W0o8/UDQxbpkqKPQU2L6GQdGJBAMv1efn8l8uTROaDEmrO5F8rXQ/ XBTJ6KJysW0IIAmLhUlW/3bo9Dwf1H1tSE5bTMwrCbc4vaegAgrrgHNm3Vne0HIi3hvV 9Do+xnNsGKlAxolB7ozVHHqcVqvZu1Z/n4cCdmkujFo9IUV4it4tTC+aB6yK3NBZJXj/ jAwHDugHdPRcAusUOH1TzzRI+nCWJS5LEotOUmqHgs6UD7SspxBT05QIoL7DyBBuXv2U exRA== 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=E2hi0BSyEDBrLHkR/O3AIUVAu+B5kFEqg6oaOy6YF8w=; b=BidqjKocuIbH0oJvOqw+atxb9/W0Wn65pjcyqBzBskc9F79WA3R+3ug9xz2hlTrW3E +5WLgmgckwyFM3nDYqnEaBJKQ6fTc1w+p/xL0ANlI8H0uXXtigMt4nUkW6X+qxpqEf7K tXcO3cDJZMFNQHbZ3S6pc64tuNe0R5m8BaAj53bBltZDYe6oyzAJvqFshw8qzs1zL6Vm X1GghfkkS/mUEyiiV3FBp4UNL4hxVXjqGjDqdZeWUTAZvWxa38U/F51M32Y5u3NUZXmg 5TjAAnQqzVLldd4xSN8CaIh5R8GXx8WVWRJ8I5rQRNs+DvhATwwWEUOfmpeCjk4doHcy tWhw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.197.127.237 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 (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id m79si464040qke.178.2018.02.05.00.59.28; Mon, 05 Feb 2018 00:59:29 -0800 (PST) Received-SPF: pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.197.127.237 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 CB7AB61836; Mon, 5 Feb 2018 08:59:28 +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=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL 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 16F6A61816; Mon, 5 Feb 2018 08:59:25 +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 DCBB961828; Mon, 5 Feb 2018 08:59:22 +0000 (UTC) Received: from mail-pl0-f65.google.com (mail-pl0-f65.google.com [209.85.160.65]) by lists.linaro.org (Postfix) with ESMTPS id 18B2261816 for ; Mon, 5 Feb 2018 08:59:22 +0000 (UTC) Received: by mail-pl0-f65.google.com with SMTP id o13so11344792pli.6 for ; Mon, 05 Feb 2018 00:59:22 -0800 (PST) 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=6B6G0EYhBXjn8zxW2j43EQDbCTy3bAuzt6bYDhOLDx0=; b=erfbGM+dkdQwRsjL7FBwWIDFlY7kQPl8R0l9UQhzBf9xdmKuYL+iaIF+Tr5poL5NSH iUsY5l8Ep/UABcfAyfXSI4mWviWrrV9ruQLeAIzZTpUpP1eZGVdqCl9mU+qzWI4jDo3B 0RMrJ8f5ew0tAm/Bi8NvS725IXCfrPdnadREbs9Gd4K0/KxBWoEUEJWlvAwkMn3nW2N5 jCj8bEd6sXv2/zj/DKnHguLgrRAccL3U9/xFyj0yaSX5hg2PzGiT4MVFRPylQPxjvEXu UoCyKBRcO5XJwaSaYDfuSUEZ8QX5g7YRQ+FSjLtIsAPUiyFMMjop8JJahUjsw1XtsGBV +jpQ== X-Gm-Message-State: AKwxytcicW3TJ735X8dXjfmdQuJW0bqJ3SjvXykt0BSLwLTpm4V7cUCe nlESdwfcQdPFMWHek+LE/RHWEActayFEpA== X-Received: by 2002:a17:902:8c81:: with SMTP id t1-v6mr42346015plo.363.1517821160959; Mon, 05 Feb 2018 00:59:20 -0800 (PST) Received: from localhost.localdomain ([64.64.108.85]) by smtp.gmail.com with ESMTPSA id y17sm17376730pfk.67.2018.02.05.00.59.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 05 Feb 2018 00:59:20 -0800 (PST) From: Haojian Zhuang To: linaro-uefi@lists.linaro.org, leif.lindholm@linaro.org, ard.biesheuvel@linaro.org Date: Mon, 5 Feb 2018 16:59:04 +0800 Message-Id: <1517821144-21939-1-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [Linaro-uefi] [PATCH v2] edk2-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" Add hikey960 platform with OPTEE and ATF. Signed-off-by: Haojian Zhuang Reviewed-by: Leif Lindholm --- edk2-platforms.config | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/edk2-platforms.config b/edk2-platforms.config index 8ef82d1..48df98f 100644 --- a/edk2-platforms.config +++ b/edk2-platforms.config @@ -121,6 +121,22 @@ BUILD_TOS=yes # Uncomment this to use UART0 as the OP-TEE Trusted OS console #TOS_BUILDFLAGS=CFG_CONSOLE_UART=0 +[hikey960] +LONGNAME=Hikey960 +DSC=Platform/Hisilicon/HiKey960/HiKey960.dsc +ARCH=AARCH64 +UEFI_BIN=BL33_AP_UEFI.fd +UEFI_IMAGE_DIR=HiKey960 +BUILD_ATF=yes +ATF_SPD=opteed +TOS_BIN=tee-pager.bin +TOS_PLATFORM=hikey +TOS_PLATFORM_FLAVOR=hikey960 +BUILD_TOS=yes +SCP_BIN=Platform/Hisilicon/HiKey960/lpm3.img +# Uncomment this to use UART5 as the EDK2 console for v1 hardware +#BUILDFLAGS=-DSERIAL_BASE=0xFDF05000 + [d02] LONGNAME=Hisilicon D02 DSC=Platform/Hisilicon/D02/Pv660D02.dsc