From: Adam Ford Date: Sun, 1 Sep 2019 06:53:43 -0500 Subject: [U-Boot] [PATCH] ARM: omapl138_lcdk: Setup MTDIDS and MTDPARTS Message-ID: <20190901115343.3649-1-aford173@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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