summaryrefslogtreecommitdiffstats
path: root/pbl/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'pbl/Kconfig')
-rw-r--r--pbl/Kconfig19
1 files changed, 17 insertions, 2 deletions
diff --git a/pbl/Kconfig b/pbl/Kconfig
index ce0acbb646..d1877a988d 100644
--- a/pbl/Kconfig
+++ b/pbl/Kconfig
@@ -28,6 +28,14 @@ config PBL_SINGLE_IMAGE
if PBL_IMAGE
+config USE_COMPRESSED_DTB
+ bool
+ depends on ARM || RISCV
+ select LZ4_DECOMPRESS if IMAGE_COMPRESSION_LZ4
+ select LZO_DECOMPRESS if IMAGE_COMPRESSION_LZO
+ select ZLIB if IMAGE_COMPRESSION_GZIP
+ select XZ_DECOMPRESS if IMAGE_COMPRESSION_XZKERN
+
config PBL_RELOCATABLE
depends on ARM || MIPS || RISCV
bool "relocatable pbl image"
@@ -38,9 +46,16 @@ config PBL_RELOCATABLE
This option only influences the PBL image. See RELOCATABLE to also make
the real image relocatable.
+config PBL_FULLY_PIC
+ bool "fully position-independent pbl image"
+ depends on PBL_RELOCATABLE && ARM && CPU_64
+ help
+ Compared to CONFIG_PBL_RELOCATABLE, this image has no relocations in
+ the code sections.
+
config PBL_VERIFY_PIGGY
depends on ARM
- bool
+ bool "Verify barebox proper hash before decompression" if COMPILE_TEST
config BOARD_GENERIC_DT
bool
@@ -55,7 +70,7 @@ if IMAGE_COMPRESSION
choice
prompt "Compression"
- default IMAGE_COMPRESSION_LZO
+ default IMAGE_COMPRESSION_LZ4
config IMAGE_COMPRESSION_LZ4
bool "lz4"