summaryrefslogtreecommitdiff
path: root/payloads/external/leanefi/Kconfig
blob: 490cbcc9bced4008c647577c19665af306de3ff2 (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
if PAYLOAD_LEANEFI

menu "leanEFI configuration"

config PAYLOAD_FILE
	string
	default "payloads/external/leanefi/leanefi/build/leanefi.elf"

config LEANEFI_EFI_ECPT
	bool
	default y if ARCH_ARM64

config LEANEFI_HEAP_SIZE
	int "Heap size"
	default 131072
	help
	  This is the heap size (malloc'able size) available
	  to the payload.

	  If unsure, set to 131072 (128K)

config LEANEFI_STACK_SIZE
	int "Stack size"
	default 16384
	help
	  This is the stack size available to the payload.

	  If unsure, set to 16384 (16K)

config LEANEFI_BASE_ADDRESS
	hex "Base address"
	default 0x62000000 if BOARD_EMULATION_QEMU_AARCH64
	#default 0x10023300000 if BOARD_EMULATION_QEMU_SBSA
	help
	  This is the base address for the payload.

config LEANEFI_PAYLOAD
	bool "Add a payload"
	default y
	help
	  If selected leanEFI will start a payload.
	  This option should only be unselected for debug purposes.

config LEANEFI_PAYLOAD_PATH
	string "path to leanefi payload"
	depends on LEANEFI_PAYLOAD

config LEANEFI_FDT
	bool "Add an FDT that is propagated as EFI configuration table"
	default y if BOARD_EMULATION_QEMU_AARCH64

config LEANEFI_FDT_PATH
	string "path to FDT"
	depends on LEANEFI_FDT

endmenu

endif