From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 01 Aug 2024 13:38:32 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sZU8d-0057Fr-37 for lore@lore.pengutronix.de; Thu, 01 Aug 2024 13:38:32 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1sZU8d-0004lV-BO; Thu, 01 Aug 2024 13:38:31 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sZU8U-0004fS-Cd; Thu, 01 Aug 2024 13:38:22 +0200 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sZU8T-003l1S-VV; Thu, 01 Aug 2024 13:38:21 +0200 Received: from localhost ([::1] helo=dude05.red.stw.pengutronix.de) by dude05.red.stw.pengutronix.de with esmtp (Exim 4.96) (envelope-from ) id 1sZU8T-00GheB-2r; Thu, 01 Aug 2024 13:38:21 +0200 From: Ahmad Fatoum To: distrokit@pengutronix.de Date: Thu, 1 Aug 2024 13:38:17 +0200 Message-Id: <20240801113819.3981009-4-a.fatoum@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240801113819.3981009-1-a.fatoum@pengutronix.de> References: <20240801113819.3981009-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [DistroKit] [PATCH 4/6] v7a_noneon: barebox: enable of_diff command X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ahmad Fatoum Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false The of_diff command shows a diff over the fixups barebox would do to the device tree when booting and is very useful to see at a glance, things like fixed up bootsource or memory size. Enable it for all v7a_noneon boards. Signed-off-by: Ahmad Fatoum --- configs/platform-v7a_noneon/barebox-at91.config | 2 +- configs/platform-v7a_noneon/barebox-at91.config.diff | 1 + configs/platform-v7a_noneon/barebox-vexpress.config | 2 +- configs/platform-v7a_noneon/barebox-vexpress.config.diff | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/configs/platform-v7a_noneon/barebox-at91.config b/configs/platform-v7a_noneon/barebox-at91.config index 4e0c69761551..b30bdcf9d242 100644 --- a/configs/platform-v7a_noneon/barebox-at91.config +++ b/configs/platform-v7a_noneon/barebox-at91.config @@ -443,7 +443,7 @@ CONFIG_CMD_BAREBOX_UPDATE=y # CONFIG_CMD_FIRMWARELOAD is not set # CONFIG_CMD_KALLSYMS is not set # CONFIG_CMD_OF_COMPATIBLE is not set -# CONFIG_CMD_OF_DIFF is not set +CONFIG_CMD_OF_DIFF=y CONFIG_CMD_OF_DUMP=y CONFIG_CMD_OF_NODE=y CONFIG_CMD_OF_PROPERTY=y diff --git a/configs/platform-v7a_noneon/barebox-at91.config.diff b/configs/platform-v7a_noneon/barebox-at91.config.diff index 36e17449b38f..230e6ddd1a2e 100644 --- a/configs/platform-v7a_noneon/barebox-at91.config.diff +++ b/configs/platform-v7a_noneon/barebox-at91.config.diff @@ -38,6 +38,7 @@ CONFIG_CMD_AT91_BOOT_TEST=y CONFIG_CMD_NAND=y # CONFIG_CMD_NANDTEST is not set # CONFIG_CMD_NAND_BITFLIP is not set +CONFIG_CMD_OF_DIFF=y # CONFIG_CMD_OF_FIXUP_STATUS is not set # CONFIG_CMD_OF_OVERLAY is not set # CONFIG_CMD_PARTITION is not set diff --git a/configs/platform-v7a_noneon/barebox-vexpress.config b/configs/platform-v7a_noneon/barebox-vexpress.config index f1cde1c36f14..1027f0356e7a 100644 --- a/configs/platform-v7a_noneon/barebox-vexpress.config +++ b/configs/platform-v7a_noneon/barebox-vexpress.config @@ -419,7 +419,7 @@ CONFIG_CMD_BAREBOX_UPDATE=y # CONFIG_CMD_FIRMWARELOAD is not set # CONFIG_CMD_KALLSYMS is not set # CONFIG_CMD_OF_COMPATIBLE is not set -# CONFIG_CMD_OF_DIFF is not set +CONFIG_CMD_OF_DIFF=y CONFIG_CMD_OF_DUMP=y CONFIG_CMD_OF_NODE=y CONFIG_CMD_OF_PROPERTY=y diff --git a/configs/platform-v7a_noneon/barebox-vexpress.config.diff b/configs/platform-v7a_noneon/barebox-vexpress.config.diff index dd842cf761df..5fb3e8147b88 100644 --- a/configs/platform-v7a_noneon/barebox-vexpress.config.diff +++ b/configs/platform-v7a_noneon/barebox-vexpress.config.diff @@ -8,6 +8,7 @@ CONFIG_ARCH_VEXPRESS=y # CONFIG_CFI_BUFFER_WRITE is not set # CONFIG_CLOCKSOURCE_BCM283X is undefined # CONFIG_CMD_GPIO is undefined +CONFIG_CMD_OF_DIFF=y # CONFIG_CMD_SMC is undefined # CONFIG_CONSOLE_ACTIVATE_FIRST is not set CONFIG_CONSOLE_ACTIVATE_NONE=y -- 2.39.2