Skip to contentSkip to conversation

imx: Make NAND BCB dependent on ARCH_MX6

PATCH New Adam Ford 1 participant 1 message Nov 3, 2019

Subsystems (3)
lore
Share & tools
lore

Adam Ford

author
#0 lore raw

PATCH 1/1 imx: Make NAND BCB dependent on ARCH_MX6

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.

arch/arm/mach-imx/Kconfig +2 -2
index b0b9d2c070..2b8d223b92 100644
@@ -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.
Signature · 1 line
2.20.1