summaryrefslogtreecommitdiffstats
path: root/pbl/Kconfig
blob: f2250dd73b605a5c225642c0a66fff2610aec3ce (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
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

config PBL_FORCE_PIGGYDATA_COPY
	bool
	help
	  In some case we need to copy the PIGGYDATA as the link address
	  as example we run from SRAM and shutdown the SDRAM/DDR for
	  reconfiguration but most of the time we just need to copy the
	  executable code.

if PBL_IMAGE

config PBL_RELOCATABLE
	depends on ARM || MIPS
	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 inflluences the PBL image. See RELOCATABLE to also make
	  the real image relocatable.

config IMAGE_COMPRESSION
	bool
	depends on HAVE_IMAGE_COMPRESSION
	default y

if IMAGE_COMPRESSION

choice
	prompt "Compression"
	default IMAGE_COMPRESSION_LZO

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