MLK-22580-4: nandbcb: imx8mm-evk: implement to burn uboot image to NAND
authorAlice Guo <alice.guo@nxp.com>
Fri, 11 Oct 2019 20:00:03 +0000 (04:00 +0800)
committerYe Li <ye.li@nxp.com>
Tue, 15 Oct 2019 09:37:43 +0000 (02:37 -0700)
commite3c8f8e3765cb19836f0cfb473c54780e113b0c0
treebf03fbea9de5627539553202c37834c4e8a42bf7
parente47b14af00b4f4c982d10296f2d5dd678d320dc7
MLK-22580-4: nandbcb: imx8mm-evk: implement to burn uboot image to NAND
flash in u-boot for imx8mm-evk

imx8mm-evk uses BCH encoding and randomizer

modify macro and print size_t with %zx

use CONFIG_IMX8M because it should apply to imx8mq/mm/mn

Signed-off-by: Alice Guo <alice.guo@nxp.com>
(cherry picked from commit 8d95b51fd70be29ef6beaa0f65c101b329f04f8e)
arch/arm/include/asm/mach-imx/imx-nandbcb.h
arch/arm/mach-imx/cmd_nandbcb.c