blob: 67b211197571b94fecc4f5d0c1f0170e06e3a1eb [file] [log] [blame]
Martin Roth888a98b2016-03-13 13:00:43 -06001##
2## This file is part of the coreboot project.
3##
4## This program is free software; you can redistribute it and/or modify
5## it under the terms of the GNU General Public License as published by
6## the Free Software Foundation; version 2 of the License.
7##
8## This program is distributed in the hope that it will be useful,
9## but WITHOUT ANY WARRANTY; without even the implied warranty of
10## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11## GNU General Public License for more details.
12##
13
Martin Rothe51e1042016-07-06 15:05:19 -060014config PXE
Martin Roth888a98b2016-03-13 13:00:43 -060015 prompt "Add a PXE ROM"
Martin Rothe51e1042016-07-06 15:05:19 -060016 def_bool n
Martin Roth888a98b2016-03-13 13:00:43 -060017 depends on ARCH_X86
Martin Rothe51e1042016-07-06 15:05:19 -060018
19if PXE
20menu "PXE Options"
21
22choice
23 prompt "PXE ROM to use"
24 default PXE_ROM
Martin Roth888a98b2016-03-13 13:00:43 -060025
26config PXE_ROM
27 bool "Add an existing PXE ROM image"
28 help
29 Select this option if you have a PXE ROM image that you would
30 like to add to your ROM.
31
32config BUILD_IPXE
33 bool "Build and add an iPXE ROM"
34 help
35 Select this option to fetch and build a ROM from the iPXE project.
36
37endchoice
38
39choice
40 prompt "iPXE version"
41 default IPXE_STABLE
42 depends on BUILD_IPXE
43
44config IPXE_STABLE
Martin Roth994d8b42016-08-18 18:56:45 -060045 bool "2016.7"
Martin Roth888a98b2016-03-13 13:00:43 -060046 help
47 iPXE uses a rolling release with no stable version, for
48 reproducibility, use the last commit of a given month as the
49 'stable' version.
Martin Roth994d8b42016-08-18 18:56:45 -060050 This is iPXE from the end of July, 2016.
Martin Roth888a98b2016-03-13 13:00:43 -060051
52config IPXE_MASTER
53 bool "master"
54 help
55 Newest iPXE version.
56
57endchoice
58
59config PXE_ROM_FILE
60 string "PXE ROM filename"
61 depends on PXE_ROM
62 default "pxe.rom"
63 help
64 The path and filename of the file to use as PXE ROM.
65
66config PXE_ROM_ID
67 string "network card PCI IDs"
Martin Roth888a98b2016-03-13 13:00:43 -060068 default "10ec,8168"
69 help
70 The comma-separated PCI vendor and device ID that would associate
71 your PXE ROM to your network card.
72
73 Example: 10ec,8168
74
75 In the above example 10ec is the PCI vendor ID (in hex, but without
76 the "0x" prefix) and 8168 specifies the PCI device ID of the
77 network card (also in hex, without "0x" prefix).
78
79 Under GNU/Linux you can run `lspci -nn` to list the IDs of your PCI devices.
Martin Rothe51e1042016-07-06 15:05:19 -060080
81endmenu
82endif