From patchwork Fri Jan 22 10:50:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 368615 Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp1400608jam; Fri, 22 Jan 2021 02:56:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJzwSu42hmBhhNKS690IuBHn+B8Q76iKQCdwTm9trvaZWJM5/EhLjE3F3FNDxQUALCUK5BDD X-Received: by 2002:aa7:d64b:: with SMTP id v11mr2606706edr.16.1611313003792; Fri, 22 Jan 2021 02:56:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611313003; cv=none; d=google.com; s=arc-20160816; b=fzPf1vm/nyEFCKXN7/qDZxux3RDWvo54gaL8QIZO/hFu0Bz27mVxgTYoMrqbha0BuS hTXNdKGQGilIXJzb4Dql8E0rcE3dmjXqOgx3tP/HMo/tBDlwyKtEpWjqmJGNneOG4euy wkKAIjOrVg+Pnl5suTIzDkWzCqgl1uQGEc0O7tv5jJw0UJxZ5iEKmDrDPjlVsTfVdmAm C9CMvE1dXHYiKJn250/m5rMB0wHpbDxZb17AZZ8kbA+aV0p1ZJaQD+d0YsfpyblZ1Msp V58bKy3yBxzN48IE/GbklBNPpDeDOWPD+89A9w5YFiecNP6Tk5PNWCyBPbhxQRj9RelH wLtw== 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=pVIcQEh83W3UhYSl4hEp+8e/amXU5AmUKesfJQX4zm/4QAcvTkU+iDy+m3IaSC1sLz 0rxYTJxgSoW8/Y2X3FFBmiRB/46us053hgC5HnE2540V1wmFJR/01mlOm/XMB57xkBxt GwwIDDMhf1HKaPgyjEGBtWcw8BrFARnlbNT67A03DsMQ2iwn4WunXp1h/q0C7BUq5yyD k5DxzxnLyqYeb1sJHwPQagnsFs3tVYZb99+7jNJP6OpuqvYn0NTWtrPYlEjQhDEdnf0w N68zlwEMGJd28/YmU/KjtwczC84ajR7D0vxvK5jhr6Jj5W8c3uLJ0QZxEELDgqtDQGsZ hXkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AP04QnPE; 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 v1si3354421edt.548.2021.01.22.02.56.43; Fri, 22 Jan 2021 02:56:43 -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=AP04QnPE; 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 S1727190AbhAVKzL (ORCPT + 6 others); Fri, 22 Jan 2021 05:55:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727497AbhAVKvm (ORCPT ); Fri, 22 Jan 2021 05:51:42 -0500 Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CF72C061794 for ; Fri, 22 Jan 2021 02:51:02 -0800 (PST) Received: by mail-pg1-x534.google.com with SMTP id 15so3438136pgx.7 for ; Fri, 22 Jan 2021 02:51:02 -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=AP04QnPEq4omjlVd+XdVlwgJ67Xem0dBgHqNS1NMAk3e7DwbaWW8RgDO+sQnmk2ARX GXttGe+eUwii441N+kRqjfw+Nmtm3EQLerO+0c3mptkNBWOXHKMF2BiY6Dc3zrv+16U5 cMfFkO8sy/tywJhIyqwV1UyWjPk9fF04TYurPsgJvwhAcHHFX+0WOq6p1VB6b6taJiED ARoPTT0Wtw5Skh++d6MVcWawwTedLM3WJHGiN3m/nL5/aTrGOi/2hUrJP7GSOhAGK54w jjpV3CYIJGNLPoW/HXSoC8PjvTYpgOxPzxT2B+qXt0gXHkKojMdMEaMsfok103U3xGpH j7JQ== 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=DvR8q6cqjERrueK9JXpwlRWl+6A4K2w+1dcZfNl5WyEs5xqT8Zog7gGLwAKPexO0hZ 6tCGyg70NwI0Ix+C7F/byKOdBoHJaVv+sOgTL6CcregGZHWjAtSDLYK3430A2o3ORdEi N1u/q54A1le2DZmSd/C4owY/Xp/WCKXBYafaY3khPDY8RWNDcsT4m/sf/zl5WA0X+ghL sCeCOtrFgUJfVSOiHyrFQV8rV675G6lzvRJUYDfDg+RD3E5+f0jj1odcB41uJKr+OOvU kVf39hv5/BDcaP2L1kZr0y+7nPh+RxiGh49i653w37dAVhNR8KVeQrEoEMzgiVo+L4r7 jQCQ== X-Gm-Message-State: AOAM5305xy+604a+NWQDXZzMAKBu9IHsOgdrdoPt3v3xhwAVGX0zCtJv 2xfO1bucHASnPsWEx+WeHtFwwg== X-Received: by 2002:a63:574c:: with SMTP id h12mr4116854pgm.79.1611312661973; Fri, 22 Jan 2021 02:51:01 -0800 (PST) Received: from localhost ([122.172.59.240]) by smtp.gmail.com with ESMTPSA id s9sm1776905pfd.38.2021.01.22.02.51.00 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Jan 2021 02:51:01 -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 V6 1/6] scripts: dtc: Fetch fdtoverlay.c from external DTC project Date: Fri, 22 Jan 2021 16:20:31 +0530 Message-Id: <41f7158a707f20980e71a8d254c1d7aed84ad371.1611312122.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