Skip to contentSkip to conversation

i.MX6: nand: extend nandbcb command for imx6UL(L)

PATCH New Parthiban Nallathambi 2 participants 2 messages Oct 18, 2019 – Nov 4, 2019

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 i.MX6: nand: extend nandbcb command for imx6UL(L)

Firmware Configuration Block(FCB) for imx6ul(l) needs to be BCH encoded.

---

Notes:
Notes:
Changes in v3:
- Conditionally include BCH both in Kconfig and source
Changes in v2:
- use kfree instead of free

 arch/arm/mach-imx/Kconfig       |  1 +
 arch/arm/mach-imx/cmd_nandbcb.c | 69 +++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)
arch/arm/mach-imx/Kconfig +1 -0
index b0b9d2c070..4a2f39b110 100644
@@ -81,6 +81,7 @@ config CMD_HDMIDETECT
 config CMD_NANDBCB
 	bool "i.MX6 NAND Boot Control Block(BCB) command"
 	depends on NAND && CMD_MTDPARTS
+	select BCH if MX6UL || MX6ULL
 	default y if ARCH_MX6 && NAND_MXS
 	help
 	  Unlike normal 'nand write/erase' commands, this command update
arch/arm/mach-imx/cmd_nandbcb.c +69 -0

95 lines not on this page · raw message

Signature · 1 line
2.21.0
#1 lore raw

PATCH v3 1/1 i.MX6: nand: extend nandbcb command for imx6UL(L)

Quoted 5 lines

Firmware Configuration Block(FCB) for imx6ul(l) needs to be BCH encoded.

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================