Debian Codegraph @

payloads/external/leanefi/Kconfig

raw
1 ## SPDX-License-Identifier: GPL-2.0-only
2
3 if PAYLOAD_LEANEFI
4
5 menu "leanEFI configuration"
6
7 config PAYLOAD_FILE
8 string
9 default "payloads/external/leanefi/leanefi/build/leanefi.elf"
10
11 config LEANEFI_EFI_ECPT
12 bool
13 default y if ARCH_ARM64
14
15 config LEANEFI_HEAP_SIZE
16 int "Heap size"
17 default 131072
18 help
19 This is the heap size (malloc'able size) available
20 to the payload.
21
22 If unsure, set to 131072 (128K)
23
24 config LEANEFI_STACK_SIZE
25 int "Stack size"
26 default 16384
27 help
28 This is the stack size available to the payload.
29
30 If unsure, set to 16384 (16K)
31
32 config LEANEFI_BASE_ADDRESS
33 hex "Base address"
34 default 0x62000000 if BOARD_EMULATION_QEMU_AARCH64
35 #default 0x10023300000 if BOARD_EMULATION_QEMU_SBSA
36 help
37 This is the base address for the payload.
38
39 config LEANEFI_PAYLOAD
40 bool "Add a payload"
41 default y
42 help
43 If selected leanEFI will start a payload.
44 This option should only be unselected for debug purposes.
45
46 config LEANEFI_PAYLOAD_PATH
47 string "path to leanefi payload"
48 depends on LEANEFI_PAYLOAD
49
50 config LEANEFI_FDT
51 bool "Add an FDT that is propagated as EFI configuration table"
52 default y if BOARD_EMULATION_QEMU_AARCH64
53
54 config LEANEFI_FDT_PATH
55 string "path to FDT"
56 depends on LEANEFI_FDT
57
58 endmenu
59
60 endif