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