Maximilian Brune | b62f86b | 2023-11-05 19:29:14 +0100 | [diff] [blame^] | 1 | if PAYLOAD_LEANEFI |
| 2 | |
| 3 | menu "leanEFI configuration" |
| 4 | |
| 5 | config PAYLOAD_FILE |
| 6 | string |
| 7 | default "payloads/external/leanefi/leanefi/build/leanefi.elf" |
| 8 | |
| 9 | config LEANEFI_EFI_ECPT |
| 10 | bool |
| 11 | default y if ARCH_ARM64 |
| 12 | |
| 13 | config 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 | |
| 22 | config 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 | |
| 30 | config 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 | |
| 37 | config 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 | |
| 44 | config LEANEFI_PAYLOAD_PATH |
| 45 | string "path to leanefi payload" |
| 46 | depends on LEANEFI_PAYLOAD |
| 47 | |
| 48 | config LEANEFI_FDT |
| 49 | bool "Add an FDT that is propagated as EFI configuration table" |
| 50 | default y if BOARD_EMULATION_QEMU_AARCH64 |
| 51 | |
| 52 | config LEANEFI_FDT_PATH |
| 53 | string "path to FDT" |
| 54 | depends on LEANEFI_FDT |
| 55 | |
| 56 | endmenu |
| 57 | |
| 58 | endif |