[PATCH v4 12/16] board: ti: j784s4: Update env to use am69-sk dtb

Apurva Nandan a-nandan at ti.com
Sun Oct 1 18:55:41 CEST 2023


From: Dasnavis Sabiya <sabiya.d at ti.com>

Add condition to select right dtb for AM69 SK vs J784S4 EVM board.

Signed-off-by: Dasnavis Sabiya <sabiya.d at ti.com>
Signed-off-by: Apurva Nandan <a-nandan at ti.com>
---
 board/ti/j784s4/j784s4.env | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/board/ti/j784s4/j784s4.env b/board/ti/j784s4/j784s4.env
index 74f822440e..7c57952bfb 100644
--- a/board/ti/j784s4/j784s4.env
+++ b/board/ti/j784s4/j784s4.env
@@ -10,6 +10,8 @@
 default_device_tree=ti/k3-j784s4-evm.dtb
 findfdt=
 	setenv name_fdt ${default_device_tree};
+	if test CONFIG_DEFAULT_DEVICE_TREE = "k3-am69-sk"; then
+		setenv name_fdt ti/k3-am69-sk.dtb; fi;
 	if test CONFIG_DEFAULT_DEVICE_TREE = "k3-j784s4-evm"; then
 		setenv name_fdt ti/k3-j784s4-evm.dtb; fi;
 	setenv fdtfile ${name_fdt}
-- 
2.34.1



More information about the U-Boot mailing list