summaryrefslogtreecommitdiffstats
path: root/common/Kconfig
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2021-03-22 14:39:01 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2021-03-23 12:16:25 +0100
commitd2e7b10d2cb3b97dcad6a45bd97a3857cbc3db66 (patch)
tree93d886dcf6e298e10c41918503c346ccd6238e20 /common/Kconfig
parent5ef1dfb28ad9b95f5366b4c8cc4bfc20cd789e94 (diff)
downloadbarebox-d2e7b10d2cb3b97dcad6a45bd97a3857cbc3db66.tar.gz
barebox-d2e7b10d2cb3b97dcad6a45bd97a3857cbc3db66.tar.xz
ARM: make ARM_USE_COMPRESSED_DTB available for other arches
Other PBL-enabled architecture can benefit from compressed dtbs as well. Move symbol and code to a comm place to be able to use it from RISC-V in a later commit. In order not to break out of tree boards at runtime, the old symbol name is maintained for ARM. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 56064d12c5..ede26cec08 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -42,6 +42,12 @@ config BLOCK
config BLOCK_WRITE
bool
+config USE_COMPRESSED_DTB
+ bool
+ depends on ARM
+ select UNCOMPRESS
+ select LZO_DECOMPRESS
+
config ELF
bool "ELF Support" if COMPILE_TEST