summaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-10-23 09:14:54 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-10-27 10:02:28 +0100
commit58eae8361c10fea661bcb48c4c5e75e7ad19e1c1 (patch)
treef25d31a025cfea28348d4279090877e3da72862a /arch/arm/Kconfig
parentfcc6020164362f0c4877e6f50fb0d323d50ee540 (diff)
downloadbarebox-58eae8361c10fea661bcb48c4c5e75e7ad19e1c1.tar.gz
barebox-58eae8361c10fea661bcb48c4c5e75e7ad19e1c1.tar.xz
ARM: Allow compressed dtb binaries
In the current multi image build process the DTBs end up uncompressed in the PBL. This can be annoying because the PBL is often very size constrained. This patch allows to put the DTBs in as lzo compressed binary into the PBL. Since lzo offers quite good compression ratios for DTBs no other compression algorithm has been implemented for now. Boards which want to use the compressed DTBs only have to change the __dtb_ prefix in the DTB name to __dtb_z_. Also they should select ARM_USE_COMPRESSED_DTB to make sure barebox supports uncompressing the DTB. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 203f912e96..f7b4a39c2c 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -17,6 +17,11 @@ config ARM_LINUX
config HAVE_MACH_ARM_HEAD
bool
+config ARM_USE_COMPRESSED_DTB
+ bool
+ select UNCOMPRESS
+ select LZO_DECOMPRESS
+
menu "System Type"
config BUILTIN_DTB