From a2618c215bff762c60826a4bc008b2cdc45321dd Mon Sep 17 00:00:00 2001 From: Jan Remmet Date: Thu, 27 Apr 2017 09:00:47 +0200 Subject: 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 Signed-off-by: Sascha Hauer --- common/Kconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'common/Kconfig') diff --git a/common/Kconfig b/common/Kconfig index f7ff04664d..aac9f1aca3 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -101,6 +101,7 @@ config BAREBOX_UPDATE_IMX_NAND_FCB depends on BAREBOX_UPDATE depends on MTD_WRITE depends on NAND_MXS + select BCH if ARCH_IMX6 default y config UBIFORMAT -- cgit v1.2.3