diff mbox series

[U-Boot,v2,2/2] arm: i.MX: Add CMD_NANDBCB Kconfig entry

Message ID 1517946065-13366-2-git-send-email-jagan@amarulasolutions.com
State Superseded
Delegated to: Jagannadha Sutradharudu Teki
Headers show
Series [U-Boot,v2,1/2] i.MX6: nand: add nandbcb update command | expand

Commit Message

Jagan Teki Feb. 6, 2018, 7:41 p.m. UTC
Add Kconfig entry for CMD_NANDBCB, and default y on i.MX6
platform with NAND_MXS defined.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
Changes for v2:
- New patch

 arch/arm/mach-imx/Kconfig | 11 +++++++++++
 1 file changed, 11 insertions(+)

Comments

Sergey Kubushyn Feb. 6, 2018, 8:09 p.m. UTC | #1
On Wed, 7 Feb 2018, Jagan Teki wrote:

> Add Kconfig entry for CMD_NANDBCB, and default y on i.MX6
> platform with NAND_MXS defined.
>
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
> ---
> Changes for v2:
> - New patch
>
> 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 3aec89d..a8c1239 100644
> --- a/arch/arm/mach-imx/Kconfig
> +++ b/arch/arm/mach-imx/Kconfig
> @@ -71,6 +71,17 @@ config CMD_HDMIDETECT
> 	  This enables the 'hdmidet' command which detects if an HDMI monitor
> 	  is connected.
>
> +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 seprate
 								^^^^^^^
 								Typo here

> +	  rootfs package.
> +
> config NXP_BOARD_REVISION
> 	bool "Read NXP board revision from fuses"
> 	depends on ARCH_MX6 || ARCH_MX7
> -- 
> 2.7.4

---
******************************************************************
*  KSI@home    KOI8 Net  < >  The impossible we do immediately.  *
*  Las Vegas   NV, USA   < >  Miracles require 24-hour notice.   *
******************************************************************
diff mbox series

Patch

diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index 3aec89d..a8c1239 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -71,6 +71,17 @@  config CMD_HDMIDETECT
 	  This enables the 'hdmidet' command which detects if an HDMI monitor
 	  is connected.
 
+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 seprate
+	  rootfs package.
+
 config NXP_BOARD_REVISION
 	bool "Read NXP board revision from fuses"
 	depends on ARCH_MX6 || ARCH_MX7