From patchwork Wed Jan 20 07:06:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 366960 Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp204375jam; Tue, 19 Jan 2021 23:09:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJy5Vi7l9vpveFlPNJ7Tj688itg8ORgbbGMy4ikxJZpXkkSnXEGszLGhx0ye7gZBNW+6th47 X-Received: by 2002:a17:906:578e:: with SMTP id k14mr1272008ejq.243.1611126584655; Tue, 19 Jan 2021 23:09:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611126584; cv=none; d=google.com; s=arc-20160816; b=ETXJs98US92jEh8uzHqycdDLqVhxWT1rLUX9rh1sYwgYN8xMPPhDvnTdU0y+CVLzMG JJuClzajHVmS539bpr5fL00oLrv25Qn1Vtm1bjJ1VK5QSU/lzmvd8DUDgn0ab2RKTDgU sYNfgds/h4Y3OQmSdT1CDNeVyKpDiL8XzYUyJVZ+0Am/qvXA2QNSHeAdUK0y7e/jXLtA CfU3vdzHq1iL8URuhTnOlTky/l16rhkQ1ItqTR4wZwyXeyelImyfEE26CEBLfINcii/c ++1BnKLbC1v+jr2LI7qLEb9cIHEQ3JHqQg2cN3NLK69Ig8uxniWWpQm95mSAhGlWNz3x vpaA== 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=cQDiymYMWhFNbh+sIBbZtTtguLQgUUq7JHqt22wVYR4RpEwxex/DfZBwzobGeb+AjT bxRRJa2FZfwS6/9OEzBQqQTQNCftYLYCrFrXLr+kIO2KmBMjSd9NvkS0/ekSPhy6fXeT SGMwDyTe7IFK7EkH04C5AGkig4fN3rfqk55CCoy6s0gvgh4N1lTgYmvKoLJ+4udveMbm y6WRroGkov5BgMPrXbUtSy8mTUyXkJz2c3BE2/NawUL6imkm2iA9mrUB89B2gZlevwEo mvVtThcULPvXTMgNDDc7xfNVZ+av3zjiY5/hWgKqXI6+RsZt5THxJTQIpPWe7jAZcvFE zEdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=c2S19u75; 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 hh2si401429ejb.627.2021.01.19.23.09.44; Tue, 19 Jan 2021 23:09:44 -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=c2S19u75; 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 S1728093AbhATHJJ (ORCPT + 6 others); Wed, 20 Jan 2021 02:09:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728030AbhATHJC (ORCPT ); Wed, 20 Jan 2021 02:09:02 -0500 Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17972C0613D6 for ; Tue, 19 Jan 2021 23:07:43 -0800 (PST) Received: by mail-pg1-x529.google.com with SMTP id p18so14573985pgm.11 for ; Tue, 19 Jan 2021 23:07:43 -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=c2S19u75v9Chts0QzKMx+ZayKXIoNAlL8ZNL3dQyLlx3STuOpzebHm8DZqg1ADQi4X tQkAJpsSFnVkiU4O3W+lIDUNH4+ZgZg2jaIJl4iRr4C+6Z0nioL/8zVyD8moRU+Xkeaj NH76BrNCubz6XhRsPzTfuMZhfhipO1MoZQditsYpd7ppALsgjGALC33iMDONcHYylAWd e/y/VKma9J2vHDBeX7dg1C2R1ej9u3P4G2eVZfLkkytSd3N5UC5vo2lDvo0LQ+oL/I+k YNvRgEh9+i6XVkmBZXeCajH1xfaJSNxTLfozDVNzG6P4ZPjbcW4Rp7hre7l3AdtORYOI X3VA== 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=hmnUXGBloJLHFuBBTyW8f1zXfOc0yDT8pCpRj32x7GjWpbCjfTct8pWnNwjX88quZc xKgy5xrzCEEgSIOjyxu75thaoTpI0Hc2+IyQMdBjUAPx3sSLeMiDeHVfOE3+7ToRibdu 5gsuXzemf6Picn5/QDfmfT/ttzG3YPIBYOPW4MyZcregZMNpNpAAcOX+sXCpUSMnpvlb 5yI3n4AwCPgml8CJIsIiSN8D20wyV49MecnZ3CjlaAodOLT+Q3+qfkOvEGi/kPpPDniW CmaG28nDrtBjGP4IxCr8yRVdWr357icX2U4S80MqJKxLjeSoC2A1BvwSrvhsu0gTpU9x j8sg== X-Gm-Message-State: AOAM533BJRhISxclsIyH8T2Y5R8XmZEnEZI6Pbv4q9orpbhjjU/KuBV5 qvsAE7eQNVB4GjcJsnF/mYDYLQ== X-Received: by 2002:a63:1401:: with SMTP id u1mr7879221pgl.229.1611126462652; Tue, 19 Jan 2021 23:07:42 -0800 (PST) Received: from localhost ([122.172.59.240]) by smtp.gmail.com with ESMTPSA id 17sm1146822pgy.53.2021.01.19.23.07.41 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Jan 2021 23:07:42 -0800 (PST) From: Viresh Kumar To: Frank Rowand , Rob Herring , Pantelis Antoniou Cc: Viresh Kumar , Vincent Guittot , Masahiro Yamada , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, David Gibson , Bill Mills , anmar.oueja@linaro.org Subject: [PATCH V5 1/5] scripts: dtc: Fetch fdtoverlay.c from external DTC project Date: Wed, 20 Jan 2021 12:36:43 +0530 Message-Id: <41f7158a707f20980e71a8d254c1d7aed84ad371.1611124778.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