summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorAhmad Fatoum <ahmad@a3f.at>2022-07-13 11:57:26 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2022-07-14 10:27:41 +0200
commit403859e941e5c71b7df5a4bf4418e3dbfc6ab153 (patch)
treeabeb84041bef0217dcc2a59cecb2db8ec1e0f8c7 /common
parent87ed5c44b3ef84835c83aa4f6375018d958ae9dc (diff)
downloadbarebox-403859e941e5c71b7df5a4bf4418e3dbfc6ab153.tar.gz
barebox-403859e941e5c71b7df5a4bf4418e3dbfc6ab153.tar.xz
pbl: make USE_COMPRESSED_DTB a PBL-only feature
All in-tree boards that reference __dtb_z_ symbols are already multi-image capable and allow us to compress barebox proper by having the prebootloader decompress it using the algorithm specified by the CONFIG_IMAGE_COMPRESSION_* option. DTB on the other hand, is handled specially and the optional compression is always using LZO. It makes sense to use the same CONFIG_IMAGE_COMPRESSION_* options for the DT too to make build system integration easier. To avoid special casing non-PBL support which lacks this options, just drop USE_COMPRESSED_DTB there. If linking barebox for your downstream board is broken by this: - If not multi-image capable, consider porting it to use ENTRY_FUNCTION(_WITHSTACK) instead - If you are using __dtb_z_* in barebox proper, use normal __dtb_ and compress barebox as a whole instead with CONFIG_IMAGE_COMPRESSION_* Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220713095730.1878941-2-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r--common/Kconfig6
1 files changed, 0 insertions, 6 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 6278866006..60f52a10e1 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -41,12 +41,6 @@ config BLOCK
config BLOCK_WRITE
bool
-config USE_COMPRESSED_DTB
- bool
- depends on ARM || RISCV
- select UNCOMPRESS
- select LZO_DECOMPRESS
-
config FILETYPE
bool