From patchwork Thu Jul 20 14:03:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Victor Chong X-Patchwork-Id: 108347 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2176239qge; Thu, 20 Jul 2017 07:03:36 -0700 (PDT) X-Received: by 10.237.38.33 with SMTP id z30mr5368698qtc.105.1500559416729; Thu, 20 Jul 2017 07:03:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500559416; cv=none; d=google.com; s=arc-20160816; b=UxWvBjcfA2Y5vfh6SwN36Bn/SVDS+sOePXT5DU8qICmzRiFMMqGbZNsDVG81xw4eGu oRKE3tRmmqSlzKC++fifvd+beUJWolMEkz/aG+K+Lctz+Ap+RYYgbiXQ1UJq4LeYYjwH 9GA9jt94uKfLAM4NvLiz5VFehtkLmVij8fNuCprBltsOuVlEuLFux/bTRLNPZGpOEwwc ssagnUMNfjKoqp0qav0FocMtwk6rO0Er37MP2NjUCR/X5C3fX7O/CNOe14vBO413UYSV 011JksAZxpksaXyMHShglDhXOyGT6QtcsSuoTeWlIrXvERYB8ui/qp03I8sczh+1vp31 VIMQ== 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:cc:message-id:date:to:from:delivered-to :arc-authentication-results; bh=OTGdrafcYgCUOevtlgtwmz+u8J0eTkS55hX+pETYWyc=; b=FZAEnw+jnqXa+yjkiPDYGDE9VO/qzW/8Y8NmlPkBmqEdhUoFh+5JtZQmzm84EMr6Er XiWoD3rvENWDvBt25Di/6y/NIJ6XKt1F+YX/GwQEVeY2//88daYZaiGKm4F/g+uT8Ga4 Ul+TAYLx9dHi3ifn5ewgXU7aNYnV660Meu91rpyQrGlLx2Aj+nbhOjhHRFMEvKoqOx5D KUy0/JuI9wfDBBnruROyxpWpvVcpDBc7xiMfFUI6KutdCV58gSGIlRhEdXAGiAKTsAfx AkfyCGSfooH+uIJL60oVnR+7KbHmWtuTPu9zOUluerduIdY0AeZ9XByGT09j3KkwYm1z ks/A== 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 a129si1984816qkf.99.2017.07.20.07.03.36; Thu, 20 Jul 2017 07:03:36 -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 E8935609EE; Thu, 20 Jul 2017 14:03:35 +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.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, 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 67B2960985; Thu, 20 Jul 2017 14:03:32 +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 A8E24609AC; Thu, 20 Jul 2017 14:03:26 +0000 (UTC) Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by lists.linaro.org (Postfix) with ESMTPS id C748B6095D for ; Thu, 20 Jul 2017 14:03:18 +0000 (UTC) Received: by mail-wm0-f41.google.com with SMTP id w191so27963402wmw.1 for ; Thu, 20 Jul 2017 07:03:18 -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=4x2Iw9UHkpukw9vKehoCInHR85d5IgTt+PqDamhQizw=; b=WdNgCEeJpMNiWMSLfMfxmVO+I4K4wkHXkE9Y4M7wX7/FQCERZakG2tXNhAnIGR94ZX mk8LnEhJtyRU/ue/ALjm9eP65bEWRsFDtl583i6HnrMe+qFpuZl+ZMdUu6sQW5Nwhszi TDpgm0vVbHx1S/fO+EjRBxS1O8RL8uGI40Q+RtcZrX4erYMaxXJK61nlfJvc4NZkh9vi jiYw4ToqL3DUDJz+Wpd9yU1LJ13cNGHrduQ+DTLT4HcKMF32Icsn5C8M55LLpfXGY/SM s00TalG+8ICudd8RQ21T026AuU0JXp/u+C5BkIiaTNghKZS40lHQpQ7HFigxSSZ2Nzyv 981w== X-Gm-Message-State: AIVw111UB/4xasw3/iD0yHbHKoSW0+s2zMSu5FAzU7HMKgmDtv3jkg7y uQ6LLJ8z8sfnIHYAzp4= X-Received: by 10.28.19.207 with SMTP id 198mr2495443wmt.166.1500559397661; Thu, 20 Jul 2017 07:03:17 -0700 (PDT) Received: from hackbox.linaro.org ([81.128.185.36]) by smtp.gmail.com with ESMTPSA id 34sm4140649wrt.36.2017.07.20.07.03.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 20 Jul 2017 07:03:16 -0700 (PDT) From: Victor Chong To: leif.lindholm@linaro.org Date: Thu, 20 Jul 2017 15:03:07 +0100 Message-Id: <20170720140307.23337-1-victor.chong@linaro.org> X-Mailer: git-send-email 2.13.0 Cc: Victor Chong , yongqin.liu@linaro.org, vishal.bhoj@linaro.org, linaro-uefi@lists.linaro.org Subject: [Linaro-uefi] [PATCH] platforms.config: hikey: Set TOS_PLATFORM_FLAVOR 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" With https://github.com/OP-TEE/optee_os/commit/66df8a2c723c8d3b2911701792b3ad1bb9a1161a TOS_PLATFORM_FLAVOR must be set and not empty to prevent the error below: core/arch/arm/plat-hikey/platform_config.h:60:2: error: #error Unknown console UART Signed-off-by: Victor Chong Reviewed-by: Leif Lindholm --- platforms.config | 1 + 1 file changed, 1 insertion(+) diff --git a/platforms.config b/platforms.config index 6db1340..6fc8f1f 100644 --- a/platforms.config +++ b/platforms.config @@ -203,6 +203,7 @@ UEFI_IMAGE_DIR=HiKey BUILD_ATF=yes ATF_SPD=opteed TOS_BIN=tee.bin +TOS_PLATFORM_FLAVOR=hikey BUILD_TOS=yes SCP_BIN=OpenPlatformPkg/Platforms/Hisilicon/HiKey/Binary/mcuimage.bin # Uncomment this to use UART0 as the EDK2 console