summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@kernel.org>2023-11-24 17:03:26 +0200
committerPraneeth Bajjuri <praneeth@ti.com>2023-11-24 16:53:29 -0600
commitbc8d0eb32dc1f1720344c84ee1a4eacf6507b1c1 (patch)
tree9431f0df01d3d728470071ea7e1ee4ee80292b45 /board
parentb8cf5253357bcab6d6496f950c7846ab6fa5d32e (diff)
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>
Diffstat (limited to 'board')
-rw-r--r--board/ti/am64x/am64x.env3
1 files changed, 3 insertions, 0 deletions
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 <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;