From 907d0f76b7d5cd86257e18cc97d1492d4ef59d5d Mon Sep 17 00:00:00 2001
From: Luka Perkov <luka@openwrt.org>
Date: Wed, 25 Sep 2013 23:35:55 +0000
Subject: [PATCH] imx6: enable XZ_DEC_BCJ and XZ_DEC_ARM

squashfs is unable to decompress some blocks without that:

[    1.880530] SQUASHFS error: Unable to read page, block bc77a, size 14c50
[    1.887268] SQUASHFS error: Unable to read fragment cache entry [bc77a]
[    1.893889] SQUASHFS error: Unable to read page, block bc77a, size 14c50
[    1.900636] SQUASHFS error: Unable to read fragment cache entry [bc77a]
[    1.907275] SQUASHFS error: Unable to read page, block bc77a, size 14c50
[    1.913994] SQUASHFS error: Unable to read fragment cache entry [bc77a]
[    1.920631] SQUASHFS error: Unable to read page, block bc77a, size 14c50

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38202
---
 target/linux/imx6/config-3.10 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/target/linux/imx6/config-3.10 b/target/linux/imx6/config-3.10
index cccf1cb113..8965e0ab71 100644
--- a/target/linux/imx6/config-3.10
+++ b/target/linux/imx6/config-3.10
@@ -322,6 +322,8 @@ CONFIG_VMSPLIT_2G=y
 # CONFIG_VMSPLIT_3G is not set
 # CONFIG_XEN is not set
 CONFIG_XPS=y
+CONFIG_XZ_DEC_ARM=y
+CONFIG_XZ_DEC_BCJ=y
 CONFIG_ZBOOT_ROM_BSS=0x0
 CONFIG_ZBOOT_ROM_TEXT=0x0
 CONFIG_ZLIB_DEFLATE=y
-- 
GitLab