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

Apurva Nandan a-nandan at ti.com
Fri Sep 8 13:05:47 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 07e1a2ab3c..cd423ea4fb 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 $board_name = am69-sk; then
+                setenv name_fdt ti/k3-am69-sk.dtb; fi;
 	if test $board_name = j784s4; 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