blob: d1877a988d21f1671ec10432e8efc831aa53f94b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
# SPDX-License-Identifier: GPL-2.0-only
config HAVE_PBL_IMAGE
bool
config HAVE_PBL_MULTI_IMAGES
bool
config HAVE_IMAGE_COMPRESSION
bool
config PBL_IMAGE
bool "Pre-Bootloader image"
depends on HAVE_PBL_IMAGE
config PBL_MULTI_IMAGES
bool
select PBL_IMAGE
select PBL_RELOCATABLE
depends on HAVE_PBL_MULTI_IMAGES
default y
config PBL_SINGLE_IMAGE
bool
depends on PBL_IMAGE
depends on !HAVE_PBL_MULTI_IMAGES
default y
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"
help
Generate a pbl binary which can relocate itself during startup to run
on different addresses. This is useful if your memory layout is not
known during compile time.
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 "Verify barebox proper hash before decompression" if COMPILE_TEST
config BOARD_GENERIC_DT
bool
select LIBFDT
config IMAGE_COMPRESSION
bool
depends on HAVE_IMAGE_COMPRESSION
default y
if IMAGE_COMPRESSION
choice
prompt "Compression"
default IMAGE_COMPRESSION_LZ4
config IMAGE_COMPRESSION_LZ4
bool "lz4"
config IMAGE_COMPRESSION_LZO
bool "lzo"
config IMAGE_COMPRESSION_GZIP
bool "gzip"
config IMAGE_COMPRESSION_XZKERN
bool "xz"
config IMAGE_COMPRESSION_NONE
bool "none"
endchoice
endif
endif
|