Commit 31d900682a77b8dc0cd7112d66d898bbe52d5edb

Authored by Alice Guo
Committed by Ye Li
1 parent 7ff2063388

MLK-22580-2: imx8mm-evk: config: add some dependencies and modify

dependency of CMD_NANDBCB`s default value

compiling nandbcb of imx8mm-evk depends on NAND and CMD_MTDPARTS

modify dependency of CMD_NANDBCB`s default value

Signed-off-by: Alice Guo <alice.guo@nxp.com>
(cherry picked from commit 1b14e8cbefdb0f8126ceb6a85b1fd0db142328e6)

Showing 2 changed files with 4 additions and 1 deletions Side-by-side Diff

arch/arm/mach-imx/Kconfig
... ... @@ -149,7 +149,7 @@
149 149 bool "i.MX6 NAND Boot Control Block(BCB) command"
150 150 depends on MTD_RAW_NAND && CMD_MTDPARTS
151 151 select BCH if MX6UL || MX6ULL
152   - default y if (ARCH_MX6 && NAND_MXS) || (ARCH_MX7 && NAND_MXS)
  152 + default y if ((ARCH_MX6 || ARCH_MX7 || ARCH_IMX8M) && NAND_MXS)
153 153 help
154 154 Unlike normal 'nand write/erase' commands, this command update
155 155 Boot Control Block(BCB) for i.MX6 platform NAND IP's.
configs/imx8mm_ddr4_evk_nand_defconfig
... ... @@ -117,6 +117,9 @@
117 117 CONFIG_ENV_IS_IN_NAND=y
118 118 CONFIG_MTD=y
119 119 CONFIG_DM_MTD=y
  120 +CONFIG_CMD_MTDPARTS=y
  121 +CONFIG_MTDIDS_DEFAULT="nand0=gpmi-nand"
  122 +CONFIG_MTDPARTS_SKIP_INVALID=y
120 123 CONFIG_NAND=y
121 124 CONFIG_NAND_MXS=y
122 125 CONFIG_NAND_MXS_DT=y