summaryrefslogtreecommitdiffstats
path: root/common/Kconfig
diff options
context:
space:
mode:
authorJan Remmet <J.Remmet@phytec.de>2017-04-27 09:00:47 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2017-05-05 09:10:26 +0200
commita2618c215bff762c60826a4bc008b2cdc45321dd (patch)
treeb06e5fa14511a7da346d85b5c5a7c5c4d591b911 /common/Kconfig
parent21b46e5258f8f3749bd8c48cf65e20d8265ec91b (diff)
downloadbarebox-a2618c215bff762c60826a4bc008b2cdc45321dd.tar.gz
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>
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index f7ff046..aac9f1a 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