From nobody Fri Mar 29 01:45:07 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1515145004375893.273863106281; Fri, 5 Jan 2018 01:36:44 -0800 (PST) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 366102236BA91; Fri, 5 Jan 2018 01:31:34 -0800 (PST) Received: from mail-wm0-x241.google.com (mail-wm0-x241.google.com [IPv6:2a00:1450:400c:c09::241]) (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 20C4A222EDCD8 for ; Fri, 5 Jan 2018 01:31:31 -0800 (PST) Received: by mail-wm0-x241.google.com with SMTP id f206so1306712wmf.5 for ; Fri, 05 Jan 2018 01:36:38 -0800 (PST) Received: from localhost.localdomain ([160.167.54.240]) by smtp.gmail.com with ESMTPSA id 15sm7326454wrt.18.2018.01.05.01.36.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Jan 2018 01:36:35 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c09::241; helo=mail-wm0-x241.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=tbEISpjdYoKo5uH3Rweri1F+mzw3mF0hcmWtZ1uzDwE=; b=QDMbmEOZsK/3eQtN1M9a/gRQbzZ75/7/Z9dVIBiHQNHgWfwBOdI8Pu82awh38U7FMA RlmbPCSTEH1i+EPFPeOVMijm6V2iynRhRYZAdWSClt1LCM4e/byWRNcTjJ/uhYn2l0lO TCmxxD4gOOs8f5R7BljK83qTzQbUuqOJPAs1k= 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=tbEISpjdYoKo5uH3Rweri1F+mzw3mF0hcmWtZ1uzDwE=; b=gDtx1izTaE0k8NLboO4rQcwGqoaFcj8ReI9NfOSRLpJ90AeHViBAH7gpFLsKvRifGZ drfK+p9R06yKZLPb5y/wLuLijIKZeQvvyP5/xSUPZwFEVgGV+KT648HbW8Xkn6PtaLgW ILIi0SwXjK8aa5A/4qmEybLfA3gJAzJ30UPrWtSo+M0qLTxRx4L/yeOglggK06hKCxBa ydjtI3+Jm2oA/WY40BcYcNbqvV8WG9nekFFYK1R8Gnisveazvfg3ZL6RnuOr0nQ3XmZy g/R25GH2IANFvt1GQ8XwDjj9N17JFDixpPEWBXt4Xv/fylgaleTK60ZDA0eQLFEx4zGf sXCA== X-Gm-Message-State: AKGB3mL6pVR0lR+e86kXbuuwD9dcLD44QKQ0igcBV/nouW93tiqdD7AD PYGpya9d8TN+/aaX9+8wIy2o7U0rc50= X-Google-Smtp-Source: ACJfBotsJ+NcQ521GNd5i55ZP7nG13pu1YI2CbrpPtv/cnEHOtt/IKbcsIobBgMu6ry30hq/QVdMyw== X-Received: by 10.28.239.5 with SMTP id n5mr1822384wmh.9.1515144996587; Fri, 05 Jan 2018 01:36:36 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org, liming.gao@intel.com Date: Fri, 5 Jan 2018 09:36:29 +0000 Message-Id: <20180105093629.7885-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 Subject: [edk2] [PATCH] BaseTools/build_rule: disable DTC legacy phandle format X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ard Biesheuvel MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" By default, the device tree compiler emits phandle properties twice: one called 'phandle' and another called 'linux,phandle'. Given that Linux was updated in early 2010 [0] to accept the former (which is what is specified in the ePAPR and device tree specifications), there is no point in emitting both when compiling device trees for UEFI platforms. [0] 04b954a673dd02f585a2769c4945a43880faa989 "of/flattree: Make the kernel accept ePAPR style phandle information" Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel Reviewed-by: Laszlo Ersek --- BaseTools/Conf/build_rule.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaseTools/Conf/build_rule.template b/BaseTools/Conf/build_rule= .template index 3e6aa8ff0f34..10a91fe3a6c6 100755 --- a/BaseTools/Conf/build_rule.template +++ b/BaseTools/Conf/build_rule.template @@ -250,7 +250,7 @@ =20 "$(PP)" $(DTCPP_FLAGS) $(INC) ${src} > ${d_path}(+)${s_base}.i - "$(DTC)" -I dts -O dtb -o ${dst} ${d_path}(+)${s_base}.i + "$(DTC)" -H epapr -I dts -O dtb -o ${dst} ${d_path}(+)${s_base}.i =20 [Visual-Form-Representation-File] --=20 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel