From patchwork Fri Jan 5 09:36:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 123481 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp585399qgn; Fri, 5 Jan 2018 01:36:41 -0800 (PST) X-Google-Smtp-Source: ACJfBou4bVyqTc3/d9D2EgQcoVddHiP8eJklG5ox9IJCty28h1NfxybKPItVKtn2PoBoFuS6oftc X-Received: by 10.101.102.75 with SMTP id z11mr2038569pgv.81.1515145001629; Fri, 05 Jan 2018 01:36:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515145001; cv=none; d=google.com; s=arc-20160816; b=B/JzI/HvVSlKGVQN8lgJ8M1e9oSuSPXBQvhJ3UjAnZ7CjU3d8ymuIvuvyz2bZUWOwn qJaOOhB/v70NY5aDiELQZiAQ/k9PV6zkj0l4Rh200poBZ/sgFeFRmQEbkXnM8mQ6psuI 2OrnBOvdrXnV5mFCMX40YPgTKPNqJpXf8zG8VMqVvsCZtY0Vya6FSeNBce3Bv220EPMl omZIbo4wlCug1mmOaOLasL2UDBZv8PvCZIGwrcQrAlgw7SGxxE1yIi6ubN5c46grlPcQ 1pgWagQTedXXum6zmsYmOBzY+zxii7c/13rs9Nrmgx5D6Aj78/HEs68l/eh0T9Q7inNr fAFw== 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:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=H5hahKj2QP88KpHG4PlZGByTLqK6ftxKpG6qW/tjaqI=; b=oC91TSiuwWGMYjqVUbHWTR8yka88vM00yjrhBVee8O8w0Wv9UxnUjRg1FmAy66iOLI HHK+KVgW6P883tEhRc5GK7476a5YuYQTTI2Eftm090Tbp/4tHs/DiAayP2mTTd3I2ncQ E7brd/Myp26a0BriOR949Dv93cw2BrZp1ponVHvrueWOrNmZHt0dxPq+rKCEZSXWvLz1 9b9kcYW29BkT5M3tQBK8/UoxD0Ul9pQ6JXh/k8UFrVT+yyX5+b657TnVfh9afY1A/WUk b/ksaL438itO2IfcrcGg/xlu/yQWsitLkHhuiKMddu7GUeL/MyumSNu+pno4OHGpuf1C D1ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=QDMbmEOZ; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id q24si3829999pfi.54.2018.01.05.01.36.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Jan 2018 01:36:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=QDMbmEOZ; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.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 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) 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-Received: by 10.28.239.5 with SMTP id n5mr1822384wmh.9.1515144996587; Fri, 05 Jan 2018 01:36:36 -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) 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 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" 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 --- BaseTools/Conf/build_rule.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Laszlo Ersek 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 @@ "$(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 [Visual-Form-Representation-File]