blob: 23647947a4fc75bb3b68ad77163721dd8c198db6 [file] [log] [blame]
Nico Huber4f32b642018-10-05 23:40:21 +02001config 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
Jeremy Compostellafa838872022-11-30 19:26:01 -07008config ROMSTAGE_ADA
9 bool
10 help
11 Selected by features that use Ada code in romstage.
12
Nico Huberbc652b92017-07-17 23:39:02 +020013config RAMSTAGE_ADA
14 bool
15 help
16 Selected by features that use Ada code in ramstage.
17
18config RAMSTAGE_LIBHWBASE
19 bool
20 select RAMSTAGE_ADA
21 help
22 Selected by features that require `libhwbase` in ramstage.
23
Jeremy Compostella50139d02022-12-01 15:07:51 -070024config ROMSTAGE_LIBHWBASE
25 bool
26 select ROMSTAGE_ADA
27 help
28 Selected by features that require `libhwbase` in romstage.
29
Patrick Rudolph666c1722018-04-03 09:57:33 +020030config FLATTENED_DEVICE_TREE
31 bool
32 help
33 Selected by features that require to parse and manipulate a flattened
34 devicetree in ramstage.
35
Michael Niewöhner87cc8892020-09-07 14:26:09 +020036config HAVE_SPD_IN_CBFS
Elyes HAOUASfc46ad82019-05-19 11:49:27 +020037 bool
38 help
39 If enabled, add support for adding spd.hex files in cbfs as spd.bin
Michael Niewöhner856731d2020-09-07 13:26:51 +020040 and locating it runtime to load SPD.
Elyes HAOUASfc46ad82019-05-19 11:49:27 +020041
42config DIMM_MAX
43 int
44 default 4
45 help
46 Total number of memory DIMM slots available on motherboard.
47 It is multiplication of number of channel to number of DIMMs per
48 channel
49
50config DIMM_SPD_SIZE
51 int
52 default 256
53 help
54 Total SPD size that will be used for DIMM.
55 Ex: DDR3 256, DDR4 512.
56
57config SPD_READ_BY_WORD
58 bool
59
Matt DeVillier8ead1dc2020-11-30 14:30:15 -060060config SPD_CACHE_IN_FMAP
61 bool
62 default n
63 help
64 Enables capability to cache DIMM SPDs in a dedicated FMAP region
65 to speed loading of SPD data. Currently requires board-level
66 romstage implementation to read/write/utilize cached SPD data.
67 When the default FMAP is used, will create a region named RW_SPD_CACHE
68 to store the cached SPD data.
69
70config SPD_CACHE_FMAP_NAME
71 string
72 depends on SPD_CACHE_IN_FMAP
73 default "RW_SPD_CACHE"
74 help
75 Name of the FMAP region created in the default FMAP to cache SPD data.
76
Jeremy Compostella50139d02022-12-01 15:07:51 -070077if RAMSTAGE_LIBHWBASE && !ROMSTAGE_LIBHWBASE
Nico Huberbc652b92017-07-17 23:39:02 +020078
79config HWBASE_DYNAMIC_MMIO
80 def_bool y
81
Jeremy Compostella50139d02022-12-01 15:07:51 -070082endif
83
84if ROMSTAGE_LIBHWBASE
85
86config HWBASE_STATIC_MMIO
87 def_bool y
88
89endif
90
91if RAMSTAGE_LIBHWBASE || ROMSTAGE_LIBHWBASE
92
Nico Huber625160f2017-07-17 23:42:33 +020093config HWBASE_DEFAULT_MMCONF
94 hex
Shelley Chen4e9bb332021-10-20 15:43:45 -070095 default ECAM_MMCONF_BASE_ADDRESS
Nico Huber625160f2017-07-17 23:42:33 +020096
97config HWBASE_DIRECT_PCIDEV
98 def_bool y
99
Nico Huberbc652b92017-07-17 23:39:02 +0200100endif
Julius Werner7fc92862019-11-18 13:01:06 -0800101
102config NO_FMAP_CACHE
103 bool
104 help
105 If your platform really doesn't want to use an FMAP cache (e.g. due to
106 space constraints), you can select this to disable warnings and save
107 a bit more code.
Furquan Shaikh5cc41f22020-05-11 12:11:27 -0700108
109config ESPI_DEBUG
110 bool
111 help
112 This option enables eSPI library helper functions for displaying debug
113 information.
Julius Werner1e37c9c2019-12-11 17:09:39 -0800114
115config NO_CBFS_MCACHE
116 bool
Julius Werner1e37c9c2019-12-11 17:09:39 -0800117 help
118 Disables the CBFS metadata cache. This means that your platform does
119 not need to provide a CBFS_MCACHE section in memlayout and can save
120 the associated CAR/SRAM size. In that case every single CBFS file
121 lookup must re-read the same CBFS directory entries from flash to find
122 the respective file.
Raul E Rangel67798cf2021-07-02 17:07:05 -0600123
Raul E Rangel6938f352021-07-23 16:43:18 -0600124config CBFS_CACHE_ALIGN
125 int
126 default 8
127 help
128 Sets the alignment of the buffers returned by the cbfs_cache.
129
Raul E Rangel4cfb8622021-11-01 13:40:14 -0600130config CBFS_PRELOAD
131 bool
132 depends on COOP_MULTITASKING
133 help
134 When enabled it will be possible to preload CBFS files into the
135 cbfs_cache. This helps reduce boot time by loading the files
136 in the background before they are actually required. This feature
137 depends on the read-only boot_device having a DMA controller to
138 perform the background transfer.
Zheng Baod91f3a42022-08-03 17:57:47 +0800139
140config DECOMPRESS_OFAST
141 bool
142 depends on COMPILER_GCC
143 default y
144 help
145 Compile the decompressing function in -Ofast instead of standard -Os