Martin Roth | 59aa2b1 | 2015-06-20 16:17:12 -0600 | [diff] [blame^] | 1 | ## |
| 2 | ## This file is part of the coreboot project. |
| 3 | ## |
| 4 | ## Copyright (C) 2011 Google Inc. |
| 5 | ## Copyright (C) 2013-2014 Sage Electronic Engineering, LLC. |
| 6 | ## |
| 7 | ## This program is free software; you can redistribute it and/or modify |
| 8 | ## it under the terms of the GNU General Public License as published by |
| 9 | ## the Free Software Foundation; version 2 of the License. |
| 10 | ## |
| 11 | ## This program is distributed in the hope that it will be useful, |
| 12 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | ## GNU General Public License for more details. |
| 15 | ## |
| 16 | ## You should have received a copy of the GNU General Public License |
| 17 | ## along with this program; if not, write to the Free Software |
| 18 | ## Foundation, Inc. |
| 19 | ## |
| 20 | |
| 21 | config HAVE_INTEL_FIRMWARE |
| 22 | bool |
| 23 | help |
| 24 | Chipset uses the Intel Firmware Descriptor to describe the |
| 25 | layout of the SPI ROM chip. |
| 26 | |
| 27 | if HAVE_INTEL_FIRMWARE |
| 28 | |
| 29 | comment "Intel Firmware" |
| 30 | |
| 31 | config HAVE_IFD_BIN |
| 32 | bool "Add Intel descriptor.bin file" |
| 33 | help |
| 34 | The descriptor binary |
| 35 | |
| 36 | config IFD_BIN_PATH |
| 37 | string "Path and filename of the descriptor.bin file" |
| 38 | depends on HAVE_IFD_BIN && !BUILD_WITH_FAKE_IFD |
| 39 | |
| 40 | config HAVE_ME_BIN |
| 41 | bool "Add Intel Management Engine firmware" |
| 42 | depends on USES_INTEL_ME && HAVE_IFD_BIN |
| 43 | help |
| 44 | The Intel processor in the selected system requires a special firmware |
| 45 | for an integrated controller called Management Engine (ME). The ME |
| 46 | firmware might be provided in coreboot's 3rdparty/blobs repository. If |
| 47 | not and if you don't have the firmware elsewhere, you can still |
| 48 | build coreboot without it. In this case however, you'll have to make |
| 49 | sure that you don't overwrite your ME firmware on your flash ROM. |
| 50 | |
| 51 | config ME_BIN_PATH |
| 52 | string "Path to management engine firmware" |
| 53 | depends on HAVE_ME_BIN |
| 54 | |
| 55 | ##### Fake IFD ##### |
| 56 | |
| 57 | config BUILD_WITH_FAKE_IFD |
| 58 | bool "Build with a fake IFD" if !HAVE_IFD_BIN |
| 59 | help |
| 60 | If you don't have an Intel Firmware Descriptor (descriptor.bin) for your |
| 61 | board, you can select this option and coreboot will build without it. |
| 62 | The resulting coreboot.rom will not contain all parts required |
| 63 | to get coreboot running on your board. You can however write only the |
| 64 | BIOS section to your board's flash ROM and keep the other sections |
| 65 | untouched. Unfortunately the current version of flashrom doesn't |
| 66 | support this yet. But there is a patch pending [1]. |
| 67 | |
| 68 | WARNING: Never write a complete coreboot.rom to your flash ROM if it |
| 69 | was built with a fake IFD. It just won't work. |
| 70 | |
| 71 | [1] http://www.flashrom.org/pipermail/flashrom/2013-June/011083.html |
| 72 | |
| 73 | config IFD_BIOS_SECTION |
| 74 | depends on BUILD_WITH_FAKE_IFD |
| 75 | string |
| 76 | default "" |
| 77 | |
| 78 | config IFD_ME_SECTION |
| 79 | depends on BUILD_WITH_FAKE_IFD |
| 80 | string |
| 81 | default "" |
| 82 | |
| 83 | config IFD_GBE_SECTION |
| 84 | depends on BUILD_WITH_FAKE_IFD |
| 85 | string |
| 86 | default "" |
| 87 | |
| 88 | config IFD_PLATFORM_SECTION |
| 89 | depends on BUILD_WITH_FAKE_IFD |
| 90 | string |
| 91 | default "" |
| 92 | |
| 93 | |
| 94 | endif #INTEL_FIRMWARE |