From: Adam Ford Date: Sun, 3 Nov 2019 17:37:46 -0600 Subject: [U-Boot] [PATCH] imx: Make NAND BCB dependent on ARCH_MX6 Message-ID: <20191103233746.23383-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 options to enable CMD_NANDBCB appear when the i.MX6 is not the target architecture, but it only applies to the i.MX6. This patch makes the option depend on ARCH_MX6 so it's hidden from irrelevant platforms. Signed-off-by: Adam Ford diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig index b0b9d2c070..2b8d223b92 100644 --- a/arch/arm/mach-imx/Kconfig +++ b/arch/arm/mach-imx/Kconfig @@ -80,8 +80,8 @@ config CMD_HDMIDETECT config CMD_NANDBCB bool "i.MX6 NAND Boot Control Block(BCB) command" - depends on NAND && CMD_MTDPARTS - default y if ARCH_MX6 && NAND_MXS + depends on NAND && CMD_MTDPARTS && ARCH_MX6 + default y if NAND_MXS help Unlike normal 'nand write/erase' commands, this command update Boot Control Block(BCB) for i.MX6 platform NAND IP's. -- 2.20.1