Stefan Reinauer | 1a8b7bf | 2015-06-30 15:58:56 -0700 | [diff] [blame] | 1 | if PAYLOAD_TIANOCORE |
| 2 | |
| 3 | config PAYLOAD_FILE |
Martin Roth | 4769cc3 | 2016-06-02 16:42:29 -0600 | [diff] [blame] | 4 | string "Tianocore binary" |
| 5 | default "payloads/external/tianocore/tianocore/Build/UEFIPAYLOAD.fd" |
Stefan Reinauer | 1a8b7bf | 2015-06-30 15:58:56 -0700 | [diff] [blame] | 6 | help |
Matt DeVillier | d3b49b4 | 2021-05-10 11:02:13 -0500 | [diff] [blame] | 7 | The result of a UefiPayloadPkg build |
Stefan Reinauer | 1a8b7bf | 2015-06-30 15:58:56 -0700 | [diff] [blame] | 8 | |
Martin Roth | 4769cc3 | 2016-06-02 16:42:29 -0600 | [diff] [blame] | 9 | choice |
Lijian Zhao | 16562cb | 2019-07-20 13:06:03 +0800 | [diff] [blame] | 10 | prompt "Tianocore payload" |
Matt DeVillier | d3b49b4 | 2021-05-10 11:02:13 -0500 | [diff] [blame] | 11 | default TIANOCORE_UEFIPAYLOAD |
Martin Roth | 4769cc3 | 2016-06-02 16:42:29 -0600 | [diff] [blame] | 12 | help |
Matt DeVillier | d3b49b4 | 2021-05-10 11:02:13 -0500 | [diff] [blame] | 13 | Select which type of payload Tianocore will build (default is UefiPayload) |
| 14 | UefiPayload: MrChromebox's customized fork of Tianocore which works on most |
| 15 | x86_64 devices |
| 16 | Upstream: Use upstream Tianocore payload from https://github.com/tianocore/edk2 |
Martin Roth | 4769cc3 | 2016-06-02 16:42:29 -0600 | [diff] [blame] | 17 | |
Lijian Zhao | 16562cb | 2019-07-20 13:06:03 +0800 | [diff] [blame] | 18 | config TIANOCORE_UEFIPAYLOAD |
| 19 | bool "UEFIPayload" |
Martin Roth | 4769cc3 | 2016-06-02 16:42:29 -0600 | [diff] [blame] | 20 | help |
Matt DeVillier | d3b49b4 | 2021-05-10 11:02:13 -0500 | [diff] [blame] | 21 | Select this option to build using MrChromebox's custom Tianocore fork, |
| 22 | which incorporates fixes/improvements from System 76's and 9elements' trees. |
| 23 | |
| 24 | config TIANOCORE_UPSTREAM |
| 25 | bool "Upstream" |
| 26 | help |
Lijian Zhao | 16562cb | 2019-07-20 13:06:03 +0800 | [diff] [blame] | 27 | Select this option if you want to use upstream EDK2 to build Tianocore. |
Martin Roth | 4769cc3 | 2016-06-02 16:42:29 -0600 | [diff] [blame] | 28 | |
| 29 | endchoice |
| 30 | |
| 31 | config TIANOCORE_REVISION_ID |
| 32 | string "Insert a commit's SHA-1 or a branch name" |
Martin Roth | 4769cc3 | 2016-06-02 16:42:29 -0600 | [diff] [blame] | 33 | help |
Lijian Zhao | 16562cb | 2019-07-20 13:06:03 +0800 | [diff] [blame] | 34 | The commit's SHA-1 or branch name of the revision to use. Choose "upstream/master" |
| 35 | for master branch of Tianocore release on github. |
Martin Roth | 4769cc3 | 2016-06-02 16:42:29 -0600 | [diff] [blame] | 36 | |
| 37 | choice |
Martin Roth | 4769cc3 | 2016-06-02 16:42:29 -0600 | [diff] [blame] | 38 | prompt "Tianocore build" |
| 39 | default TIANOCORE_RELEASE |
| 40 | help |
| 41 | Select whether to generate a debug or release build for |
| 42 | Tianocore; default is to generate a release build. |
| 43 | |
| 44 | config TIANOCORE_DEBUG |
| 45 | bool "Generate Tianocore debug build" |
| 46 | help |
| 47 | Generate a debug build. |
| 48 | |
| 49 | config TIANOCORE_RELEASE |
| 50 | bool "Generate Tianocore release build" |
| 51 | help |
| 52 | Generate a release build. |
| 53 | |
| 54 | endchoice |
| 55 | |
Matt DeVillier | ba7f116 | 2021-06-02 15:19:38 -0500 | [diff] [blame] | 56 | if TIANOCORE_UEFIPAYLOAD |
| 57 | |
| 58 | config TIANOCORE_CBMEM_LOGGING |
| 59 | bool "Enable Tianocore logging to CBMEM" |
| 60 | help |
| 61 | Select this option if you want to enable Tianocore logging to CBMEM. |
| 62 | You may want to increase the default cbmem buffer size when selecting |
| 63 | this option, especially if using a debug (vs release) build. |
| 64 | Selecting this option will increase the payload size in CBFS by ~220KB. |
| 65 | |
Matt DeVillier | ff79341 | 2019-02-21 22:41:59 -0600 | [diff] [blame] | 66 | config TIANOCORE_BOOTSPLASH_IMAGE |
| 67 | bool "Use a custom bootsplash image" |
Matt DeVillier | ff79341 | 2019-02-21 22:41:59 -0600 | [diff] [blame] | 68 | help |
| 69 | Select this option if you have a bootsplash image that you would |
| 70 | like to be used. If this option is not selected, the default |
| 71 | coreboot logo (European Brown Hare) will used. |
| 72 | |
| 73 | config TIANOCORE_BOOTSPLASH_FILE |
| 74 | string "Tianocore Bootsplash path and filename" |
| 75 | depends on TIANOCORE_BOOTSPLASH_IMAGE |
| 76 | default "bootsplash.bmp" |
| 77 | help |
| 78 | The path and filename of the file to use as graphical bootsplash |
| 79 | screen. The file format must be uncompressed BMP, and the file's |
| 80 | resolution must be less than the native resolution of the display. |
| 81 | |
| 82 | If an absolute path is not given, the path will assumed to be |
| 83 | relative to the coreboot root directory. |
| 84 | |
Matt DeVillier | 3469378 | 2021-06-02 15:24:00 -0500 | [diff] [blame^] | 85 | endif |
| 86 | |
Matt DeVillier | 61a3c8a | 2020-11-29 22:11:52 -0600 | [diff] [blame] | 87 | config TIANOCORE_BOOT_TIMEOUT |
| 88 | int |
| 89 | default 2 |
| 90 | help |
| 91 | The length of time in seconds for which the boot splash/menu prompt will be displayed. |
| 92 | For boards with an internal display, the default value of 2s is generally sufficient. |
| 93 | For boards without an internal display, a value of 5s is generally sufficient. |
| 94 | |
Stefan Reinauer | 1a8b7bf | 2015-06-30 15:58:56 -0700 | [diff] [blame] | 95 | endif |