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 <rogerq@kernel.org>
This commit is contained in:
Roger Quadros 2023-11-24 17:03:26 +02:00 committed by Praneeth Bajjuri
parent b8cf525335
commit bc8d0eb32d
1 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,9 @@
#include <environment/ti/k3_rproc.env>
#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;