arm: i.MX: Add CMD_NANDBCB Kconfig entry
authorShyam Saini <shyam.saini@amarulasolutions.com>
Wed, 10 Jul 2019 19:15:49 +0000 (14:15 -0500)
committerHan Xu <han.xu@nxp.com>
Tue, 16 Jul 2019 03:25:28 +0000 (22:25 -0500)
Add Kconfig entry for CMD_NANDBCB, and default y on i.MX6
platform with NAND_MXS defined.

Reviewed-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Shyam Saini <shyam.saini@amarulasolutions.com>
Signed-off-by: Han Xu <han.xu@nxp.com>
arch/arm/mach-imx/Kconfig

index 27a1731..a60f2f7 100644 (file)
@@ -155,6 +155,17 @@ config DBG_MONITOR
          failed AXI access info when system reboot is caused by AXI
          access failure.
 
+config CMD_NANDBCB
+       bool "i.MX6 NAND Boot Control Block(BCB) command"
+       depends on NAND && CMD_MTDPARTS
+       default y if ARCH_MX6 && NAND_MXS
+       help
+         Unlike normal 'nand write/erase' commands, this command update
+         Boot Control Block(BCB) for i.MX6 platform NAND IP's.
+
+         This is similar to kobs-ng, which is used in Linux as separate
+         rootfs package.
+
 config NXP_BOARD_REVISION
        bool "Read NXP board revision from fuses"
        depends on ARCH_MX6 || ARCH_MX7