From 845fb233c3634a9be521e0a4e97cfe32d504a594 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Mon, 21 Oct 2024 09:34:00 +0200 Subject: [PATCH] dtdiff: Make use of phandle restorage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With the phandles restored a difference between two device trees that only consists of a different allocation of phandle values is shown without all the followup changes that usually are not interesting. Signed-off-by: Uwe Kleine-König --- dtdiff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dtdiff b/dtdiff index 841b085e..5b069806 100644 --- a/dtdiff +++ b/dtdiff @@ -28,7 +28,7 @@ source_and_sort () { exit 2 fi - $DTC -I $IFORMAT -O dts -qq -f -s -o - "$DT" + $DTC -@ -L -I $IFORMAT -O dts -qq -f -s -o - "$DT" } if [ $# != 2 ]; then