From bc8d0eb32dc1f1720344c84ee1a4eacf6507b1c1 Mon Sep 17 00:00:00 2001 From: Roger Quadros Date: Fri, 24 Nov 2023 17:03:26 +0200 Subject: [PATCH] environment: ti: am64x: Fix mtdids and mtdparts mtdids and mtdparts defined in nand.env are not suitable for am64x-evm. Define its own here. We deliberately don't define spi.nor partitions here as it causes mtdparts and dfu to fail till user has done "sf probe" command. This is because NOR flash is not auto probed by u-boot. Signed-off-by: Roger Quadros --- board/ti/am64x/am64x.env | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/ti/am64x/am64x.env b/board/ti/am64x/am64x.env index 141467ef1f..a833b6c390 100644 --- a/board/ti/am64x/am64x.env +++ b/board/ti/am64x/am64x.env @@ -5,6 +5,9 @@ #include #endif +mtdids=nand0=omap2-nand.0 +mtdparts=omap2-nand.0:2m(NAND.tiboot3),2m(NAND.tispl),2m(NAND.tiboot3.backup),4m(NAND.u-boot),256k(NAND.u-boot-env),256k(NAND.u-boot-env.backup),-(NAND.file-system) + findfdt= if test $board_name = am64x_gpevm; then setenv name_fdt ti/k3-am642-evm.dtb; fi;