From patchwork Fri Jan 29 07:24:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 373279 Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp1953319jam; Thu, 28 Jan 2021 23:29:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJzvnMXVRhTcrf2LD+BUjwTx7ED4tjTU+n+Xy+/n364sei6lugIBr7T/4FZX86xJJH5f4u+K X-Received: by 2002:a17:906:7e42:: with SMTP id z2mr3210892ejr.177.1611905374344; Thu, 28 Jan 2021 23:29:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611905374; cv=none; d=google.com; s=arc-20160816; b=D5V4YQDEhHq6YQWaUM0Ix02FNXAnMvbq7KAVN7sXBON/sVSkwiL6b0DdQCGUdHlEZ+ 7GTzVSVILHiLkkCFDcPZXGcG60DAbBHhKBpQTVdk12KVbajjae9K7fCU9FCi7D1f307O 3UhK01dtZ7WCG7CLBAn8lOFJXij6RmlUU3XeR0W1fW8TIJZYrAgg2XYOg3FodsKrFvb3 bX4LFkgjU+9CdWKr8kgmCb79+nLmA+F6fPx03V02TmWdLeAoTvcBq7CfnI5UuaxQPpZn HQhEha6e/eQyQUvBG6vg5vCDUCOh/OrpctIjvzraIa3+OEbHqb5u3gqHPrQyMz6+H+h8 AHrA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=PYJHN29z38YJQy9+aRfXhxK7SVaDLVhX0WgONtRAors=; b=qeCfhIZaB9qIrZQyyo/eSZhxgZuuJGF4wyvlCSgUtibzcpcxgJBDf8g0r0+4iRH7aF K76OUDoSjRHn6l/JrDwJmgmOMsdaBFTAaAfhWOJIb5URLaTQdVyVcgv+BLPrjHABx+gt PNqSoJjDpghOUHqlpg6Wcm8Jd3AaHzGcVlfjdouXPx9XGJ1vpLtdRWg2+rM4DGsb73+4 GbHVFraUIqZZEW6GGgg/ysLNP16ZEe4ruhPBGU0SI3joV5wC0/Mv8Zxa0Xa0wKJckOpx qd0FUwtcoq8d4PM8PTVKLQw+LAUqdQbl0FJB1s3zr9QMw7L5WpzbPV6BrfMy22OkUJM5 uzIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yU7MgniE; 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 v5si4670712eda.107.2021.01.28.23.29.34; Thu, 28 Jan 2021 23:29:34 -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=yU7MgniE; 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 S232200AbhA2H2S (ORCPT + 6 others); Fri, 29 Jan 2021 02:28:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231926AbhA2H2Q (ORCPT ); Fri, 29 Jan 2021 02:28:16 -0500 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 245A3C061756 for ; Thu, 28 Jan 2021 23:27:36 -0800 (PST) Received: by mail-pl1-x62d.google.com with SMTP id u11so4751399plg.13 for ; Thu, 28 Jan 2021 23:27:36 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=PYJHN29z38YJQy9+aRfXhxK7SVaDLVhX0WgONtRAors=; b=yU7MgniEnfF9zCaYCDMrurU7l+NtPr041utDGm17Pg5UIy3s5OGmry2lc8O29PJmT2 LVX5bNWr3SeXgrQQt2zy40u4iO/yYn/yBy4oBbIpholxrlpaKjCl14vM7Wt+It4ip2sO 2/EbYlvkfSWhF1Qo+CXfXBQEDd5xyR39ZYqaYzb4Z0fdOVBqXppSBEQkf8HD7TG7D6Zu LXPXITbgqPsJtiXb9mNcVFG6w/GkRS5rw0AL+VGfBTshjiJix9WcbmzhtyrnpQDKNOw2 1pYbKPpLDjojhi2zFLNqORo+babfbQdNoiNcbBqbJherujYjpWMmXFN5dYl1tzKN7Cxg XT4A== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=PYJHN29z38YJQy9+aRfXhxK7SVaDLVhX0WgONtRAors=; b=Hj/USMzSSncwkQpZoGDzczhpolG1ESfCjMX87lBNxl0Av38U8hKWauvZpDuo2O/2b6 cZC8Qx7vlFb/VUPSI9Hg4uJKuVFOAqmuZQ8pukrYyCkPybqEVLVkiB/b1373Ia4oGRqh liFqY0kqFYOnPLp+Q4k7NoircqZnO0sxMp8eRXM53v9ym1HbCPimW9JEkCDAmR27kF1v 7jbs7hDUECRQBb0J0nFJVPyR3C9wrBOq9YhYnSEYM0qGfZbSqcjWdg6PQnFt12wTID53 09frE7V4hRxwd2pdkzieZlTpL3g2hBy5+VScF5E+v5Y9+Guzp7M8cK0WNY/VfGK512fD O1ag== X-Gm-Message-State: AOAM532OFcyoSbJBAUWahXfekhQNdJFmmSNIyn9NUPtSgC/HwIr82oiN /qJ93JTuYtAqECLcAiZWlW4c5w== X-Received: by 2002:a17:90a:dc01:: with SMTP id i1mr3192662pjv.134.1611905255766; Thu, 28 Jan 2021 23:27:35 -0800 (PST) Received: from localhost ([122.172.59.240]) by smtp.gmail.com with ESMTPSA id v31sm8494685pgl.76.2021.01.28.23.27.34 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Jan 2021 23:27:35 -0800 (PST) From: Viresh Kumar To: Frank Rowand , Rob Herring , Pantelis Antoniou , Masahiro Yamada Cc: Viresh Kumar , Vincent Guittot , linux-kernel@vger.kernel.org, anmar.oueja@linaro.org, Bill Mills , David Gibson , devicetree@vger.kernel.org, Michal Marek Subject: [PATCH V7 1/6] scripts: dtc: Fetch fdtoverlay.c from external DTC project Date: Fri, 29 Jan 2021 12:54:05 +0530 Message-Id: <28f66f70602225bb6aeb58e924c20bde9d864327.1611904394.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.25.0.rc1.19.g042ed3e048af In-Reply-To: References: 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 fdtoverlay tool going forward. Lets start fetching it. Signed-off-by: Viresh Kumar --- scripts/dtc/update-dtc-source.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.25.0.rc1.19.g042ed3e048af diff --git a/scripts/dtc/update-dtc-source.sh b/scripts/dtc/update-dtc-source.sh index bc704e2a6a4a..32ff17ffd089 100755 --- a/scripts/dtc/update-dtc-source.sh +++ b/scripts/dtc/update-dtc-source.sh @@ -37,6 +37,7 @@ DTC_SOURCE="checks.c data.c dtc.c dtc.h flattree.c fstree.c livetree.c srcpos.c 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" +FDTOVERLAY_SOURCE=fdtoverlay.c get_last_dtc_version() { git log --oneline scripts/dtc/ | grep 'upstream' | head -1 | sed -e 's/^.* \(.*\)/\1/' @@ -54,7 +55,7 @@ dtc_log=$(git log --oneline ${last_dtc_ver}..) # Copy the files into the Linux tree cd $DTC_LINUX_PATH -for f in $DTC_SOURCE; do +for f in $DTC_SOURCE $FDTOVERLAY_SOURCE; do cp ${DTC_UPSTREAM_PATH}/${f} ${f} git add ${f} done