[U-Boot] [PATCH] ARM: omapl138_lcdk: Setup MTDIDS and MTDPARTS

1 Sep
2019
1 Sep
'19
1:53 p.m.
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.
Signed-off-by: Adam Ford aford173@gmail.com
diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig index 326ac9372b..c69b9b15c4 100644 --- a/configs/omapl138_lcdk_defconfig +++ b/configs/omapl138_lcdk_defconfig @@ -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
--
2.17.1
2075
Age (days ago)
2075
Last active (days ago)
0 comments
1 participants
participants (1)
-
Adam Ford