From patchwork Mon Feb 5 08:28:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haojian Zhuang X-Patchwork-Id: 126830 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp1780615ljc; Mon, 5 Feb 2018 00:43:42 -0800 (PST) X-Google-Smtp-Source: AH8x227lHGPZCloskMv3V+E1sDfti5QRmJ9NMO72RoMiLm97QqT3S9RAvrJS68LZlf7hIa2KjN3t X-Received: by 10.55.164.20 with SMTP id n20mr6680082qke.286.1517820222268; Mon, 05 Feb 2018 00:43:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517820222; cv=none; d=google.com; s=arc-20160816; b=x+vn0BKRFiC4hEjvU57hjeOKk7zMR5jAhX6vDl8kk+rHKCU/7KSoy/PYhUb5beahjz PkBhtPyC/X5cKnon2JSO7YkecgkJoz0WI0XT+9RbO/fH+bZN/x5DxJHZSxm18bjfYo6D YO/9BXuyjKPYCPGjYJ34inK83qQl86g+KQ4w2rYJKAChGwCo0s0NX27RIOMVgnhEsTLb /7Fw3R8vBByiP54q7sz0MfUlNUvDV5EKlm3efelMrlS3nRbWBJT5W/Zsa5/bd3mX5Ye4 eT3pUmMT9mSBbRxH83QgSdUqYOvh/WM4RHQ7G2wPknBXceJSzt7crnD55pG7SO5PrvJU khQQ== 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=t2XW45kfhfXyhg2v1ikHHWGzUYA74bSrs5IZRJnqil4=; b=qGM1MUL+y+zN5JxfvWRMvDV2w8msiK2EPMwQ9qhf6VG3CQt8N0pkdlc6uw/SyuVep3 cdtKiAmaLDnUpc6U+9AEBFMmsLWK8fj1ip66kLGJX5ZAdGZlQKgpkTIt/CTeIMhMG5HH GF3rRBTat8pfCq03imUHbOiDabyIQsUS4M9UmvZzY0AmFvQAcbEQBoheZ0WIkyEO9Ibs 43Gx+89nQ610mf17ippnExqoHL7bciqdXHfvZPHubuF6Z754wWOlJ4MykRkXBx3Cb5r+ crUCh/w+FcdhcPd48k4sqbnGtBDPb3z+JWoE1CGPrCQ/REUZvPHBCWdZs9/vmWX3mPiB UZLg== 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 v2si151458qkl.180.2018.02.05.00.43.41; Mon, 05 Feb 2018 00:43:42 -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 E340E6177B; Mon, 5 Feb 2018 08:43:41 +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 D4E2E6178E; Mon, 5 Feb 2018 08:30:31 +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 A7D3F617A2; Mon, 5 Feb 2018 08:30:28 +0000 (UTC) Received: from mail-pl0-f67.google.com (mail-pl0-f67.google.com [209.85.160.67]) by lists.linaro.org (Postfix) with ESMTPS id B53ED608BD for ; Mon, 5 Feb 2018 08:29:03 +0000 (UTC) Received: by mail-pl0-f67.google.com with SMTP id p5so11304019plo.12 for ; Mon, 05 Feb 2018 00:29:03 -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=CFhEjyRdyYwoRqCENDgqppCdBXgs/1ec3giB5g6BOxU=; b=glu7syo/P7S0qhWCqtbnK9sMIHjWttP6hFU0U8y/jP4iLVrkkfb3JbecNykO2c9ToX foOoiVMCrsaPCaeVbNdFrugBLME8tHaUKw/CRezC3kRtg9gr5tKdFfaOcIMH4p2TpelO lBdxOEY+D7PtR5yb/cCz5DsgME6j4YozWMAieBgixh8uZa9dHEeqQ0o8Xw7vpM5+9/tB jmS0XSxzuuq1B+ZKpKOj+CABg4B9405BwIlHpVa60XnJjRQi5qQbgmf0ndtznvtO3DUW wEEPU3jfN9NAhJCeFjs2KqawTKFjmisH/rw33EoUFNJRvaBA5AqKuEs/waZXhYl/Td02 RoYw== X-Gm-Message-State: AKwxytcHUnIEar7GgzMf9DNnAdYVOUbV8ue+eDbpgI0xsz/WTawioUKR j7HPtQlPZIjCXyGO+Fpsw3sc7S2KEPun1A== X-Received: by 2002:a17:902:3281:: with SMTP id z1-v6mr43074087plb.431.1517819342670; Mon, 05 Feb 2018 00:29:02 -0800 (PST) Received: from localhost.localdomain ([64.64.108.17]) by smtp.gmail.com with ESMTPSA id e12sm12940024pgu.48.2018.02.05.00.28.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 05 Feb 2018 00:29:01 -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:28:49 +0800 Message-Id: <1517819329-20825-1-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [Linaro-uefi] [PATCH] 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 --- 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/Binary/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