Skip to contentSkip to conversation

ARM: omapl138_lcdk: Setup MTDIDS and MTDPARTS

PATCH New Adam Ford 1 participant 1 message Sep 1, 2019

lore
Share & tools
lore

Adam Ford

author
#0 lore raw

PATCH 1/1 ARM: omapl138_lcdk: Setup MTDIDS and MTDPARTS

The schematic shows the NAND to be a 256M part, and the device tree shows the partition mapping. This patch defines MTDIDS and MTDPARTS to match the partition mapping found in the device tree.

configs/omapl138_lcdk_defconfig +2 -0
index 326ac9372b..c69b9b15c4 100644
@@ -31,6 +31,8 @@ CONFIG_MX_CYCLIC=y
 CONFIG_CMD_NAND=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MTDPARTS=y
+CONFIG_MTDIDS_DEFAULT="nand0=nand256"
+CONFIG_MTDPARTS_DEFAULT="mtdparts=nand256:128k(u-boot env),512k(u-boot),-(free space)"
 CONFIG_CMD_DIAG=y
 CONFIG_CMD_UBI=y
 CONFIG_OF_CONTROL=y
Signature · 1 line
2.17.1