From patchwork Thu Jan 7 05:15:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 358154 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp195543jai; Wed, 6 Jan 2021 21:16:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJx0KSivpM+aDcfEEATNjW7qH9OfbZpyQzLdXgr7RvNuShGUcjRtPbApROu//cjGFLColDho X-Received: by 2002:a17:906:3111:: with SMTP id 17mr4827000ejx.152.1609996610814; Wed, 06 Jan 2021 21:16:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609996610; cv=none; d=google.com; s=arc-20160816; b=sLm4KgoRpN8cWbwRNhTmHPv4OHAfEmInU233SezWB6AT+i8vuve4UkL2o7kZV0IQ5G HbCdQUMzaU5MRA4Cdlv1xYudsfVMHfGR/y8+/shf+PsBrbTtUpd4avV8H/RXk0Yi0SQH 0SURuAmJK34M4lXZlp1H301v+8k7ulgPGLCzSrxX77OxS/vtDD0vPlWOrIM/u9cHrYjq aGILDHMaEmLxKjmuKbRm+eNN3B2dk7f9ZF0oXuj8DU01Q+iyBrOOVt/ExeXB3wb9yk0O pf8jKvGMKZYOUCs+eT1f0MFdaQmFZ/SnlZ6vg26ix6Vta7XZkeG8a2MP0+TboeyU3EdJ jTiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=QrVR8HrI6fCDnvS29akD+JwZDL2psh/KfBG4Bf4pDa0=; b=LDDONi/qKeTzP/72aP7q2RVsCzVnILOnRMgIGuG3ekRVjPgqS1+e9TcFQ65ZSfoECD Hhi8NvpoLpXNRexvCwmOFl8ExVSf/h3kELQuCBQbk4jUTEw2WnkXSAEjoeo7rTIKPjTm IEz9Vlm7oyrw5D87ePm302b5F27A+XF+aJWH+Rp1I9F2gHcuwbTseAS2oJJZ9QJMtqVQ G1vSPGaOXoNteP+0Z2tnX3vRO85nw33krjuajNzCRIWVvCu2RTQNYkUDfnWGEgA/fm7M SHdnU8lqWK51kS85nJCXUJ1aiUTwp6nFjOEV6bGRNtt3gircIy5hocearpUtIxkhneAC r9Dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Wf+24L0I; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l11si1875514ejx.27.2021.01.06.21.16.50; Wed, 06 Jan 2021 21:16:50 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Wf+24L0I; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726074AbhAGFQH (ORCPT + 6 others); Thu, 7 Jan 2021 00:16:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725862AbhAGFQH (ORCPT ); Thu, 7 Jan 2021 00:16:07 -0500 Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F40DC0612F1 for ; Wed, 6 Jan 2021 21:15:27 -0800 (PST) Received: by mail-pf1-x42b.google.com with SMTP id m6so3157552pfm.6 for ; Wed, 06 Jan 2021 21:15:27 -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:mime-version :content-transfer-encoding; bh=QrVR8HrI6fCDnvS29akD+JwZDL2psh/KfBG4Bf4pDa0=; b=Wf+24L0IT9UHUeT09QDwDD7oc2wA5g4dXjH/S1mEj2unyVAdbxP7dTp7FfqsgKxQ41 3CM3LRfVS/sNbg2Caxhi5appIi0Ua5MplMVfz4tqTyqh3aXQGHMz0TMTVjvIq6obngU9 04dLHj7erJsLtMa8krTcRDokQYeLGkMun7FNvn/qLuo6AXSPc87sM4H4jOiUmiTQJFTL uXxzKfzdTpQ2iW6M9YjvEOyRT8ytPk/IOKYgYt0OjQZgD2acc7svIiBzSEprUvRmcg0u 7R/AJGvEStDMm0be3IXtrYLm/LjNzGJJfJEb5jFP0f1dnNPllwxdHblCCFBIt7OnVl3c PiTA== 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:mime-version :content-transfer-encoding; bh=QrVR8HrI6fCDnvS29akD+JwZDL2psh/KfBG4Bf4pDa0=; b=b1h/0/cxRHVw7Uyfr4hw/p5V6kCq/nqIH8GZ2LqLseg46dl0VVYyGFB0bSmi16hKac j5unnrQOD7t4XmOg09/N9/Lgco6pimj9Ivq/3vqtaWcA+w1yhTuB30/wLdF/N0j9DGkj DazkEXCTfJFmuHk829txSYx2a0bS3uXV4PDDrW5WLBjFJb/nSFxBuqd0ODMu/QU54kCN /XbzOOeUA3hBrofkRl7kuC5e1KhmkPoj9lqCkR1lI8AjrA/cUHLMmOwH709LzKLWQa8Z mYed/5Mwe/HR1OQmlqQC33n7XA8J/zedsRTsahvZdfWpFBEIM2/JSCzkOcVF7Zh0p62x YGtw== X-Gm-Message-State: AOAM530kCTcsz3giFDlenM9LJsZZxTlIpN5vPEWJhfvT8Qbacifk5V8d 44tndxUkBOI7pUIkBwlsqOe+uw== X-Received: by 2002:a62:6c2:0:b029:19e:b63a:91e9 with SMTP id 185-20020a6206c20000b029019eb63a91e9mr590211pfg.79.1609996526613; Wed, 06 Jan 2021 21:15:26 -0800 (PST) Received: from localhost ([122.172.20.109]) by smtp.gmail.com with ESMTPSA id a29sm4158602pfr.73.2021.01.06.21.15.25 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Jan 2021 21:15:25 -0800 (PST) From: Viresh Kumar To: Pantelis Antoniou , Frank Rowand , Rob Herring Cc: Viresh Kumar , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, Vincent Guittot , Bill Mills , anmar.oueja@linaro.org Subject: [PATCH V2 1/2] scripts: dtc: Add fdtoverlay.c and fdtdump.c to DTC_SOURCE Date: Thu, 7 Jan 2021 10:45:19 +0530 Message-Id: X-Mailer: git-send-email 2.25.0.rc1.19.g042ed3e048af MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org We will start building overlays for platforms soon in the kernel and would need these tools going forward. Lets start fetching them. Note that a copy of fdtdump.c was already copied back in the year 2012, but was never updated or built for some reason. Signed-off-by: Viresh Kumar --- V2: Separate out this change from Makefile one. This needs to be followed by invocation of the ./update-dtc-source.sh script so the relevant files can be copied before the Makefile is updated in the next patch. scripts/dtc/update-dtc-source.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.25.0.rc1.19.g042ed3e048af diff --git a/scripts/dtc/update-dtc-source.sh b/scripts/dtc/update-dtc-source.sh index bc704e2a6a4a..9bc4afb71415 100755 --- a/scripts/dtc/update-dtc-source.sh +++ b/scripts/dtc/update-dtc-source.sh @@ -31,9 +31,9 @@ set -ev DTC_UPSTREAM_PATH=`pwd`/../dtc DTC_LINUX_PATH=`pwd`/scripts/dtc -DTC_SOURCE="checks.c data.c dtc.c dtc.h flattree.c fstree.c livetree.c srcpos.c \ - srcpos.h treesource.c util.c util.h version_gen.h yamltree.c \ - dtc-lexer.l dtc-parser.y" +DTC_SOURCE="checks.c data.c dtc.c dtc.h fdtdump.c fdtoverlay.c flattree.c \ + fstree.c livetree.c srcpos.c srcpos.h treesource.c util.c \ + util.h version_gen.h yamltree.c dtc-lexer.l dtc-parser.y" LIBFDT_SOURCE="fdt.c fdt.h fdt_addresses.c fdt_empty_tree.c \ fdt_overlay.c fdt_ro.c fdt_rw.c fdt_strerror.c fdt_sw.c \ fdt_wip.c libfdt.h libfdt_env.h libfdt_internal.h"