blob: cb3ff5dca53cf8ec553bb6b437930c9e112794b1 [file] [log] [blame]
Stefan Reinauer1a8b7bf2015-06-30 15:58:56 -07001if PAYLOAD_TIANOCORE
2
3config PAYLOAD_FILE
Martin Roth4769cc32016-06-02 16:42:29 -06004 string "Tianocore binary"
5 default "payloads/external/tianocore/tianocore/Build/UEFIPAYLOAD.fd"
Stefan Reinauer1a8b7bf2015-06-30 15:58:56 -07006 help
Matt DeVillierd3b49b42021-05-10 11:02:13 -05007 The result of a UefiPayloadPkg build
Stefan Reinauer1a8b7bf2015-06-30 15:58:56 -07008
Martin Roth4769cc32016-06-02 16:42:29 -06009choice
Lijian Zhao16562cb2019-07-20 13:06:03 +080010 prompt "Tianocore payload"
Matt DeVillierd3b49b42021-05-10 11:02:13 -050011 default TIANOCORE_UEFIPAYLOAD
Martin Roth4769cc32016-06-02 16:42:29 -060012 help
Matt DeVillierd3b49b42021-05-10 11:02:13 -050013 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 Roth4769cc32016-06-02 16:42:29 -060017
Lijian Zhao16562cb2019-07-20 13:06:03 +080018config TIANOCORE_UEFIPAYLOAD
19 bool "UEFIPayload"
Martin Roth4769cc32016-06-02 16:42:29 -060020 help
Matt DeVillierd3b49b42021-05-10 11:02:13 -050021 Select this option to build using MrChromebox's custom Tianocore fork,
22 which incorporates fixes/improvements from System 76's and 9elements' trees.
23
24config TIANOCORE_UPSTREAM
25 bool "Upstream"
26 help
Lijian Zhao16562cb2019-07-20 13:06:03 +080027 Select this option if you want to use upstream EDK2 to build Tianocore.
Martin Roth4769cc32016-06-02 16:42:29 -060028
29endchoice
30
31config TIANOCORE_REVISION_ID
32 string "Insert a commit's SHA-1 or a branch name"
Martin Roth4769cc32016-06-02 16:42:29 -060033 help
Lijian Zhao16562cb2019-07-20 13:06:03 +080034 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 Roth4769cc32016-06-02 16:42:29 -060036
37choice
Martin Roth4769cc32016-06-02 16:42:29 -060038 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
44config TIANOCORE_DEBUG
45 bool "Generate Tianocore debug build"
46 help
47 Generate a debug build.
48
49config TIANOCORE_RELEASE
50 bool "Generate Tianocore release build"
51 help
52 Generate a release build.
53
54endchoice
55
Matt DeVillierba7f1162021-06-02 15:19:38 -050056if TIANOCORE_UEFIPAYLOAD
57
58config 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 DeVillierff793412019-02-21 22:41:59 -060066config TIANOCORE_BOOTSPLASH_IMAGE
67 bool "Use a custom bootsplash image"
Matt DeVillierff793412019-02-21 22:41:59 -060068 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
73config 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 DeVillier34693782021-06-02 15:24:00 -050085endif
86
Matt DeVillier61a3c8a2020-11-29 22:11:52 -060087config 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 Reinauer1a8b7bf2015-06-30 15:58:56 -070095endif