Nico Huber | 4f32b64 | 2018-10-05 23:40:21 +0200 | [diff] [blame] | 1 | config MISSING_BOARD_RESET |
| 2 | bool |
| 3 | help |
| 4 | Selected by boards that don't provide a do_board_reset() |
| 5 | implementation. This activates a stub that logs the missing |
| 6 | board reset and halts execution. |
| 7 | |
Nico Huber | bc652b9 | 2017-07-17 23:39:02 +0200 | [diff] [blame] | 8 | config RAMSTAGE_ADA |
| 9 | bool |
| 10 | help |
| 11 | Selected by features that use Ada code in ramstage. |
| 12 | |
| 13 | config RAMSTAGE_LIBHWBASE |
| 14 | bool |
| 15 | select RAMSTAGE_ADA |
| 16 | help |
| 17 | Selected by features that require `libhwbase` in ramstage. |
| 18 | |
Patrick Rudolph | 666c172 | 2018-04-03 09:57:33 +0200 | [diff] [blame] | 19 | config FLATTENED_DEVICE_TREE |
| 20 | bool |
| 21 | help |
| 22 | Selected by features that require to parse and manipulate a flattened |
| 23 | devicetree in ramstage. |
| 24 | |
Michael Niewöhner | 87cc889 | 2020-09-07 14:26:09 +0200 | [diff] [blame] | 25 | config HAVE_SPD_IN_CBFS |
Elyes HAOUAS | fc46ad8 | 2019-05-19 11:49:27 +0200 | [diff] [blame] | 26 | bool |
| 27 | help |
| 28 | If enabled, add support for adding spd.hex files in cbfs as spd.bin |
Michael Niewöhner | 856731d | 2020-09-07 13:26:51 +0200 | [diff] [blame] | 29 | and locating it runtime to load SPD. |
Elyes HAOUAS | fc46ad8 | 2019-05-19 11:49:27 +0200 | [diff] [blame] | 30 | |
| 31 | config DIMM_MAX |
| 32 | int |
| 33 | default 4 |
| 34 | help |
| 35 | Total number of memory DIMM slots available on motherboard. |
| 36 | It is multiplication of number of channel to number of DIMMs per |
| 37 | channel |
| 38 | |
| 39 | config DIMM_SPD_SIZE |
| 40 | int |
| 41 | default 256 |
| 42 | help |
| 43 | Total SPD size that will be used for DIMM. |
| 44 | Ex: DDR3 256, DDR4 512. |
| 45 | |
| 46 | config SPD_READ_BY_WORD |
| 47 | bool |
| 48 | |
Matt DeVillier | 8ead1dc | 2020-11-30 14:30:15 -0600 | [diff] [blame] | 49 | config SPD_CACHE_IN_FMAP |
| 50 | bool |
| 51 | default n |
| 52 | help |
| 53 | Enables capability to cache DIMM SPDs in a dedicated FMAP region |
| 54 | to speed loading of SPD data. Currently requires board-level |
| 55 | romstage implementation to read/write/utilize cached SPD data. |
| 56 | When the default FMAP is used, will create a region named RW_SPD_CACHE |
| 57 | to store the cached SPD data. |
| 58 | |
| 59 | config SPD_CACHE_FMAP_NAME |
| 60 | string |
| 61 | depends on SPD_CACHE_IN_FMAP |
| 62 | default "RW_SPD_CACHE" |
| 63 | help |
| 64 | Name of the FMAP region created in the default FMAP to cache SPD data. |
| 65 | |
Nico Huber | bc652b9 | 2017-07-17 23:39:02 +0200 | [diff] [blame] | 66 | if RAMSTAGE_LIBHWBASE |
| 67 | |
| 68 | config HWBASE_DYNAMIC_MMIO |
| 69 | def_bool y |
| 70 | |
Nico Huber | 625160f | 2017-07-17 23:42:33 +0200 | [diff] [blame] | 71 | config HWBASE_DEFAULT_MMCONF |
| 72 | hex |
| 73 | default MMCONF_BASE_ADDRESS |
| 74 | |
| 75 | config HWBASE_DIRECT_PCIDEV |
| 76 | def_bool y |
| 77 | |
Nico Huber | bc652b9 | 2017-07-17 23:39:02 +0200 | [diff] [blame] | 78 | endif |
Julius Werner | 7fc9286 | 2019-11-18 13:01:06 -0800 | [diff] [blame] | 79 | |
| 80 | config NO_FMAP_CACHE |
| 81 | bool |
| 82 | help |
| 83 | If your platform really doesn't want to use an FMAP cache (e.g. due to |
| 84 | space constraints), you can select this to disable warnings and save |
| 85 | a bit more code. |
Furquan Shaikh | 5cc41f2 | 2020-05-11 12:11:27 -0700 | [diff] [blame] | 86 | |
| 87 | config ESPI_DEBUG |
| 88 | bool |
| 89 | help |
| 90 | This option enables eSPI library helper functions for displaying debug |
| 91 | information. |
Julius Werner | 1e37c9c | 2019-12-11 17:09:39 -0800 | [diff] [blame] | 92 | |
| 93 | config NO_CBFS_MCACHE |
| 94 | bool |
Julius Werner | 1e37c9c | 2019-12-11 17:09:39 -0800 | [diff] [blame] | 95 | help |
| 96 | Disables the CBFS metadata cache. This means that your platform does |
| 97 | not need to provide a CBFS_MCACHE section in memlayout and can save |
| 98 | the associated CAR/SRAM size. In that case every single CBFS file |
| 99 | lookup must re-read the same CBFS directory entries from flash to find |
| 100 | the respective file. |