From: Sinthu Raja <sinthu.raja@mistralsolutions.com>
To: u-boot@lists.denx.de, Simon Glass <sjg@chromium.org>,
Marcel Ziswiler <marcel.ziswiler@toradex.com>,
Marek Vasut <marex@denx.de>,
Vignesh Raghavendra <vigneshr@ti.com>
Cc: Sinthu Raja <sinthu.raja@ti.com>
Subject: [PATCH 11/11] include: configs: Update env for selecting right dtb
Date: Thu, 27 Oct 2022 16:18:46 +0530 [thread overview]
Message-ID: <20221027104846.11820-12-sinthu.raja@ti.com> (raw)
In-Reply-To: <20221027104846.11820-1-sinthu.raja@ti.com>
From: Sinthu Raja <sinthu.raja@ti.com>
Now that single defconfig shall be used for booting J721S2 EVM and
AM68 SK, the default device tree will not work for selecting dtb for
kernel. Update the findfdt env to select right dtb based on
board_name env variable.
Signed-off-by: Sinthu Raja <sinthu.raja@ti.com>
---
include/configs/j721s2_evm.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/configs/j721s2_evm.h b/include/configs/j721s2_evm.h
index 932d7d3c8c..715f03048a 100644
--- a/include/configs/j721s2_evm.h
+++ b/include/configs/j721s2_evm.h
@@ -32,6 +32,10 @@
"default_device_tree=" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" \
"findfdt=" \
"setenv name_fdt ${default_device_tree};" \
+ "if test $board_name = j721s2; then " \
+ "setenv name_fdt k3-j721s2-common-proc-board.dtb; fi;" \
+ "if test $board_name = am68-sk; then " \
+ "setenv name_fdt k3-am68-sk-base-board.dtb; fi;"\
"setenv fdtfile ${name_fdt}\0" \
"name_kern=Image\0" \
"console=ttyS2,115200n8\0" \
--
2.36.1
prev parent reply other threads:[~2022-10-27 11:16 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-27 10:48 [PATCH 00/11] AM68 SK: Add initial support for AM68 Starter Kit Sinthu Raja
2022-10-27 10:48 ` [PATCH 01/11] configs: j721s2_evm_r5: Enable support for building multiple dtbs into FIT Sinthu Raja
2022-10-27 10:48 ` [PATCH 02/11] configs: j721s2_evm_a72: " Sinthu Raja
2022-10-27 10:48 ` [PATCH 03/11] configs: j721s2_evm: Enable configs to store env in MMC FAT partition Sinthu Raja
2022-10-27 10:48 ` [PATCH 04/11] board: ti: j721s2: Add support to update board_name for am68-sk Sinthu Raja
2022-10-27 12:59 ` Tom Rini
2022-10-27 10:48 ` [PATCH 05/11] board: ti: j721s2: Enable support for reading EEPROM at next alternate address Sinthu Raja
2022-10-27 10:48 ` [PATCH 06/11] board: ti: j721s2: Add support for detecting multiple device trees Sinthu Raja
2022-10-27 13:02 ` Tom Rini
2022-10-27 10:48 ` [PATCH 07/11] arm: j721s2: Add support for selecting DT based on EEPROM Sinthu Raja
2022-10-27 13:04 ` Tom Rini
2022-10-27 10:48 ` [PATCH 08/11] arm: dts: Add initial support for AM68 Starter Kit System on Module Sinthu Raja
2022-10-27 13:06 ` Tom Rini
2022-10-27 10:48 ` [PATCH 09/11] arm: dts: Add support for A72 specific AM68 Starter Kit Base Board Sinthu Raja
2022-10-27 10:48 ` [PATCH 10/11] arm: dts: k3-am68-sk: Add r5 specific dt support Sinthu Raja
2022-10-27 10:48 ` Sinthu Raja [this message]
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=20221027104846.11820-12-sinthu.raja@ti.com \
--to=sinthu.raja@mistralsolutions.com \
--cc=marcel.ziswiler@toradex.com \
--cc=marex@denx.de \
--cc=sinthu.raja@ti.com \
--cc=sjg@chromium.org \
--cc=u-boot@lists.denx.de \
--cc=vigneshr@ti.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.