imx: nandbcb: add support for i.MX7
authorIgor Opaniuk <igor.opaniuk@toradex.com>
Sun, 3 Nov 2019 15:49:44 +0000 (16:49 +0100)
committerStefano Babic <sbabic@denx.de>
Sun, 3 Nov 2019 20:49:28 +0000 (21:49 +0100)
commitdad30dd72bd137cc61168409bc6d1fe7f22bedfb
tree477f3140ed323cdf4f8840117a01b983df39fe8a
parent9ab5f221a5e2b79ec98efa6b44f7e3d03c518bf8
imx: nandbcb: add support for i.MX7

Add support for updating FCB/DBBT on i.MX7:
- additional new fields in FCB structure
- Leverage hardware BCH/randomizer for writing FCB

Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Tested-by: Max Krummenacher <max.krummenacher@toradex.com>
Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
arch/arm/include/asm/mach-imx/imx-nandbcb.h
arch/arm/mach-imx/Kconfig
arch/arm/mach-imx/cmd_nandbcb.c