From bdb832ae21d6a034327f8197dc2f547c53402b33 Mon Sep 17 00:00:00 2001 From: Shyam Saini Date: Wed, 10 Jul 2019 14:15:49 -0500 Subject: [PATCH] arm: i.MX: Add CMD_NANDBCB Kconfig entry Add Kconfig entry for CMD_NANDBCB, and default y on i.MX6 platform with NAND_MXS defined. Reviewed-by: Stefano Babic Signed-off-by: Jagan Teki Signed-off-by: Shyam Saini Signed-off-by: Han Xu --- arch/arm/mach-imx/Kconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig index 27a1731a4b..a60f2f72f6 100644 --- a/arch/arm/mach-imx/Kconfig +++ b/arch/arm/mach-imx/Kconfig @@ -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 -- 2.17.1