[PATCH V6 11/20] board: ti: am62x: am62x.env: Use default findfdt

Nishanth Menon nm at ti.com
Fri Aug 25 20:02:56 CEST 2023


Use the default findfdt using CONFIG_DEFAULT_DEVICE_TREE

Reviewed-by: Tom Rini <trini at konsulko.com>
Tested-by: Mattijs Korpershoek <mkorpershoek at baylibre.com>
Signed-off-by: Nishanth Menon <nm at ti.com>
---
No change that picking up Review, tested by and using new include file.

V5: https://lore.kernel.org/r/20230824031101.3460411-10-nm@ti.com
 board/ti/am62x/am62x.env | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/board/ti/am62x/am62x.env b/board/ti/am62x/am62x.env
index 1ef948df83d7..3b79ae1b3f0d 100644
--- a/board/ti/am62x/am62x.env
+++ b/board/ti/am62x/am62x.env
@@ -1,10 +1,7 @@
 #include <env/ti/ti_common.env>
+#include <env/ti/default_findfdt.env>
 #include <env/ti/mmc.env>
 
-default_device_tree=ti/k3-am625-sk.dtb
-findfdt=
-	setenv name_fdt ${default_device_tree};
-	setenv fdtfile ${name_fdt}
 name_kern=Image
 console=ttyS2,115200n8
 args_all=setenv optargs ${optargs} earlycon=ns16550a,mmio32,0x02800000
-- 
2.40.0



More information about the U-Boot mailing list