U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: ozndrgt@gmail.com
To: u-boot@lists.denx.de
Cc: Ozan Durgut <ozan.durgut@analog.com>,
	Greg Malysa <malysagreg@gmail.com>,
	Vasileios Bimpikas <vasileios.bimpikas@analog.com>,
	Arturs Artamonovs <arturs.artamonovs@analog.com>,
	Tom Rini <trini@konsulko.com>,
	Caleb Ethridge <caleb.ethridge@analog.com>,
	linux@analog.com, u-boot@lists.u-boot-project.org
Subject: [PATCH] configs: sc5xx: set default FDT file
Date: Thu, 20 Aug 2026 14:56:55 +0200	[thread overview]
Message-ID: <20260820125705.51692-1-ozndrgt@gmail.com> (raw)

From: Ozan Durgut <ozan.durgut@analog.com>

Set CONFIG_DEFAULT_FDT_FILE in all SC5xx defconfigs to the
corresponding board DTB filename, and set fdtfile from it in the
common ADI boot environment. This provides a default device tree
file for booting the OS.

Signed-off-by: Ozan Durgut <ozan.durgut@analog.com>
---
 configs/sc573-ezlite_defconfig         | 1 +
 configs/sc584-ezkit_defconfig          | 1 +
 configs/sc589-ezkit_defconfig          | 1 +
 configs/sc589-mini_defconfig           | 1 +
 configs/sc594-som-ezkit-spl_defconfig  | 1 +
 configs/sc594-som-ezlite-spl_defconfig | 1 +
 configs/sc598-som-ezkit-spl_defconfig  | 1 +
 configs/sc598-som-ezlite-spl_defconfig | 1 +
 include/env/adi/adi_boot.env           | 1 +
 9 files changed, 9 insertions(+)

diff --git a/configs/sc573-ezlite_defconfig b/configs/sc573-ezlite_defconfig
index cbf24234cc3..f392d25bfeb 100644
--- a/configs/sc573-ezlite_defconfig
+++ b/configs/sc573-ezlite_defconfig
@@ -15,6 +15,7 @@ CONFIG_FIT_SIGNATURE=y
 CONFIG_LEGACY_IMAGE_FORMAT=y
 CONFIG_USE_BOOTCOMMAND=y
 CONFIG_BOOTCOMMAND="run ramboot"
+CONFIG_DEFAULT_FDT_FILE="sc573-ezlite.dtb"
 CONFIG_SYS_CBSIZE=512
 # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
 CONFIG_SPL_I2C=y
diff --git a/configs/sc584-ezkit_defconfig b/configs/sc584-ezkit_defconfig
index bb24b31b2c0..20728df4e00 100644
--- a/configs/sc584-ezkit_defconfig
+++ b/configs/sc584-ezkit_defconfig
@@ -20,6 +20,7 @@ CONFIG_FIT_SIGNATURE=y
 CONFIG_LEGACY_IMAGE_FORMAT=y
 CONFIG_USE_BOOTCOMMAND=y
 CONFIG_BOOTCOMMAND="run ramboot"
+CONFIG_DEFAULT_FDT_FILE="sc584-ezkit.dtb"
 CONFIG_SYS_CBSIZE=512
 CONFIG_CYCLIC_MAX_CPU_TIME_US=1000
 # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
diff --git a/configs/sc589-ezkit_defconfig b/configs/sc589-ezkit_defconfig
index d3f0380bfed..8b210ea749b 100644
--- a/configs/sc589-ezkit_defconfig
+++ b/configs/sc589-ezkit_defconfig
@@ -23,6 +23,7 @@ CONFIG_FIT_SIGNATURE=y
 CONFIG_LEGACY_IMAGE_FORMAT=y
 CONFIG_USE_BOOTCOMMAND=y
 CONFIG_BOOTCOMMAND="run spiboot"
+CONFIG_DEFAULT_FDT_FILE="sc589-ezkit.dtb"
 CONFIG_SYS_CBSIZE=512
 CONFIG_CYCLIC_MAX_CPU_TIME_US=1000
 # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
diff --git a/configs/sc589-mini_defconfig b/configs/sc589-mini_defconfig
index 1bdede4b739..0b24583384f 100644
--- a/configs/sc589-mini_defconfig
+++ b/configs/sc589-mini_defconfig
@@ -21,6 +21,7 @@ CONFIG_FIT_SIGNATURE=y
 CONFIG_LEGACY_IMAGE_FORMAT=y
 CONFIG_USE_BOOTCOMMAND=y
 CONFIG_BOOTCOMMAND="run spiboot"
+CONFIG_DEFAULT_FDT_FILE="sc589-mini.dtb"
 CONFIG_SYS_CBSIZE=512
 # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
 CONFIG_SPL_I2C=y
diff --git a/configs/sc594-som-ezkit-spl_defconfig b/configs/sc594-som-ezkit-spl_defconfig
index 4f8be110ee4..ad7add99fd4 100644
--- a/configs/sc594-som-ezkit-spl_defconfig
+++ b/configs/sc594-som-ezkit-spl_defconfig
@@ -17,6 +17,7 @@ CONFIG_FIT_SIGNATURE=y
 CONFIG_LEGACY_IMAGE_FORMAT=y
 CONFIG_USE_BOOTCOMMAND=y
 CONFIG_BOOTCOMMAND="run spiboot"
+CONFIG_DEFAULT_FDT_FILE="sc594-som-ezkit.dtb"
 CONFIG_SYS_CBSIZE=512
 CONFIG_SPL_I2C=y
 CONFIG_SPL_DM_SPI_FLASH=y
diff --git a/configs/sc594-som-ezlite-spl_defconfig b/configs/sc594-som-ezlite-spl_defconfig
index c045c67569b..96a80d9fc29 100644
--- a/configs/sc594-som-ezlite-spl_defconfig
+++ b/configs/sc594-som-ezlite-spl_defconfig
@@ -20,6 +20,7 @@ CONFIG_FIT_SIGNATURE=y
 CONFIG_LEGACY_IMAGE_FORMAT=y
 CONFIG_USE_BOOTCOMMAND=y
 CONFIG_BOOTCOMMAND="run spiboot"
+CONFIG_DEFAULT_FDT_FILE="sc594-som-ezlite.dtb"
 CONFIG_SYS_CBSIZE=512
 CONFIG_CYCLIC_MAX_CPU_TIME_US=1000
 CONFIG_SPL_I2C=y
diff --git a/configs/sc598-som-ezkit-spl_defconfig b/configs/sc598-som-ezkit-spl_defconfig
index e2fee0d0be8..4f9b8dccc45 100644
--- a/configs/sc598-som-ezkit-spl_defconfig
+++ b/configs/sc598-som-ezkit-spl_defconfig
@@ -35,6 +35,7 @@ CONFIG_FIT_SIGNATURE=y
 CONFIG_LEGACY_IMAGE_FORMAT=y
 CONFIG_USE_BOOTCOMMAND=y
 CONFIG_BOOTCOMMAND="run spiboot"
+CONFIG_DEFAULT_FDT_FILE="sc598-som-ezkit.dtb"
 CONFIG_SYS_CBSIZE=512
 CONFIG_CYCLIC_MAX_CPU_TIME_US=1000
 # CONFIG_SPL_SEPARATE_BSS is not set
diff --git a/configs/sc598-som-ezlite-spl_defconfig b/configs/sc598-som-ezlite-spl_defconfig
index 9ae5bdad6ca..c904567f476 100644
--- a/configs/sc598-som-ezlite-spl_defconfig
+++ b/configs/sc598-som-ezlite-spl_defconfig
@@ -36,6 +36,7 @@ CONFIG_FIT_SIGNATURE=y
 CONFIG_LEGACY_IMAGE_FORMAT=y
 CONFIG_USE_BOOTCOMMAND=y
 CONFIG_BOOTCOMMAND="run spiboot"
+CONFIG_DEFAULT_FDT_FILE="sc598-som-ezlite.dtb"
 CONFIG_SYS_CBSIZE=512
 CONFIG_CYCLIC_MAX_CPU_TIME_US=1000
 # CONFIG_SPL_SEPARATE_BSS is not set
diff --git a/include/env/adi/adi_boot.env b/include/env/adi/adi_boot.env
index 3c83826cf9a..a3e308e6404 100644
--- a/include/env/adi/adi_boot.env
+++ b/include/env/adi/adi_boot.env
@@ -7,6 +7,7 @@
 /* Config options */
 ethaddr=02:80:ad:20:31:e8
 eth1addr=02:80:ad:20:31:e9
+fdtfile=CONFIG_DEFAULT_FDT_FILE
 httpdstp=8000
 uart_console=CONFIG_UART_CONSOLE
 #ifdef CONFIG_SC59X_64
-- 
2.43.0


                 reply	other threads:[~2026-08-20 12:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260820125705.51692-1-ozndrgt@gmail.com \
    --to=ozndrgt@gmail.com \
    --cc=arturs.artamonovs@analog.com \
    --cc=caleb.ethridge@analog.com \
    --cc=linux@analog.com \
    --cc=malysagreg@gmail.com \
    --cc=ozan.durgut@analog.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=u-boot@lists.u-boot-project.org \
    --cc=vasileios.bimpikas@analog.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox