MLK-22954-2: Kconfig: change the nandbcb Kconfig for iMX8QX
authorHan Xu <han.xu@nxp.com>
Tue, 12 Nov 2019 21:11:48 +0000 (15:11 -0600)
committerYe Li <ye.li@nxp.com>
Thu, 29 Apr 2021 07:56:35 +0000 (00:56 -0700)
Add the ARCH_MX8 in Kconfig for supporting iMX8QX in nandbcb

Signed-off-by: Han Xu <han.xu@nxp.com>
(cherry picked from commit a91c8b42b6d8385bbd09652a5e18e3c2286eb305)
(cherry picked from commit 7a57cfa932426984b996c3b4e34c7984a27968b4)

arch/arm/mach-imx/Kconfig

index 4b13015..6245bcb 100644 (file)
@@ -158,7 +158,7 @@ config CMD_NANDBCB
        bool "i.MX6 NAND Boot Control Block(BCB) command"
        depends on MTD_RAW_NAND && CMD_MTDPARTS
        select BCH if MX6UL || MX6ULL
-       default y if ((ARCH_MX6 || ARCH_MX7 || ARCH_IMX8M) && NAND_MXS)
+       default y if ((ARCH_MX6 || ARCH_MX7 || ARCH_IMX8M || ARCH_IMX8) && NAND_MXS)
        help
          Unlike normal 'nand write/erase' commands, this command update
          Boot Control Block(BCB) for i.MX6 platform NAND IP's.