imx-bbu-nand-fcb: add support for imx6ul
imx6ul secure the fcb with bch 40. The imx-kobs tool use a own modified
bch lib. They reverse the bit order of the data and the ecc.
To use the bch lib in barebox the bytes in the data buffers must be
reversed.
The data layout on nand is bit aligned. But with 40 bits this is not an
issue for imx6ul now.

Signed-off-by: Jan Remmet <J.Remmet@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 21b46e5 commit a2618c215bff762c60826a4bc008b2cdc45321dd
@Jan Remmet Jan Remmet authored on 27 Apr 2017
Sascha Hauer committed on 5 May 2017
Showing 2 changed files
View
common/Kconfig
View
common/imx-bbu-nand-fcb.c