Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 1 | menu "x86 architecture" |
| 2 | depends on X86 |
| 3 | |
| 4 | config SYS_ARCH |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 5 | default "x86" |
| 6 | |
Masahiro Yamada | 45ccec8 | 2014-10-24 01:30:43 +0900 | [diff] [blame] | 7 | config USE_PRIVATE_LIBGCC |
| 8 | default y |
| 9 | |
Simon Glass | 8156345 | 2015-03-06 13:19:02 -0700 | [diff] [blame] | 10 | config SYS_VSNPRINTF |
| 11 | default y |
| 12 | |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 13 | choice |
Bin Meng | 65c4ac0 | 2015-04-27 23:22:24 +0800 | [diff] [blame] | 14 | prompt "Mainboard vendor" |
Bin Meng | 99a309f | 2015-05-07 21:34:09 +0800 | [diff] [blame^] | 15 | default VENDOR_EMULATION |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 16 | |
Bin Meng | 65c4ac0 | 2015-04-27 23:22:24 +0800 | [diff] [blame] | 17 | config VENDOR_COREBOOT |
| 18 | bool "coreboot" |
Simon Glass | 8ef0757 | 2014-11-12 22:42:07 -0700 | [diff] [blame] | 19 | |
Bin Meng | a65b25d | 2015-05-07 21:34:08 +0800 | [diff] [blame] | 20 | config VENDOR_EMULATION |
| 21 | bool "emulation" |
| 22 | |
Bin Meng | 65c4ac0 | 2015-04-27 23:22:24 +0800 | [diff] [blame] | 23 | config VENDOR_GOOGLE |
| 24 | bool "Google" |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 25 | |
Bin Meng | 65c4ac0 | 2015-04-27 23:22:24 +0800 | [diff] [blame] | 26 | config VENDOR_INTEL |
| 27 | bool "Intel" |
Bin Meng | ef46bea | 2015-02-02 22:35:29 +0800 | [diff] [blame] | 28 | |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 29 | endchoice |
| 30 | |
Bin Meng | 65c4ac0 | 2015-04-27 23:22:24 +0800 | [diff] [blame] | 31 | # board-specific options below |
| 32 | source "board/coreboot/Kconfig" |
Bin Meng | a65b25d | 2015-05-07 21:34:08 +0800 | [diff] [blame] | 33 | source "board/emulation/Kconfig" |
Bin Meng | 65c4ac0 | 2015-04-27 23:22:24 +0800 | [diff] [blame] | 34 | source "board/google/Kconfig" |
| 35 | source "board/intel/Kconfig" |
| 36 | |
Bin Meng | 029194a | 2015-04-27 23:22:25 +0800 | [diff] [blame] | 37 | # platform-specific options below |
| 38 | source "arch/x86/cpu/baytrail/Kconfig" |
| 39 | source "arch/x86/cpu/coreboot/Kconfig" |
| 40 | source "arch/x86/cpu/ivybridge/Kconfig" |
Bin Meng | a65b25d | 2015-05-07 21:34:08 +0800 | [diff] [blame] | 41 | source "arch/x86/cpu/qemu/Kconfig" |
Bin Meng | 029194a | 2015-04-27 23:22:25 +0800 | [diff] [blame] | 42 | source "arch/x86/cpu/quark/Kconfig" |
| 43 | source "arch/x86/cpu/queensbay/Kconfig" |
| 44 | |
| 45 | # architecture-specific options below |
| 46 | |
Simon Glass | b724bd7 | 2015-02-11 16:32:59 -0700 | [diff] [blame] | 47 | config SYS_MALLOC_F_LEN |
| 48 | default 0x800 |
| 49 | |
Simon Glass | 70a09c6 | 2014-11-12 22:42:10 -0700 | [diff] [blame] | 50 | config RAMBASE |
| 51 | hex |
| 52 | default 0x100000 |
| 53 | |
Simon Glass | 70a09c6 | 2014-11-12 22:42:10 -0700 | [diff] [blame] | 54 | config XIP_ROM_SIZE |
| 55 | hex |
Bin Meng | 7698d36 | 2015-01-06 22:14:16 +0800 | [diff] [blame] | 56 | depends on X86_RESET_VECTOR |
Simon Glass | bbd43d6 | 2015-01-01 16:17:54 -0700 | [diff] [blame] | 57 | default ROM_SIZE |
Simon Glass | 70a09c6 | 2014-11-12 22:42:10 -0700 | [diff] [blame] | 58 | |
| 59 | config CPU_ADDR_BITS |
| 60 | int |
| 61 | default 36 |
| 62 | |
Simon Glass | 65dd74a | 2014-11-12 22:42:28 -0700 | [diff] [blame] | 63 | config HPET_ADDRESS |
| 64 | hex |
| 65 | default 0xfed00000 if !HPET_ADDRESS_OVERRIDE |
| 66 | |
| 67 | config SMM_TSEG |
| 68 | bool |
| 69 | default n |
| 70 | |
| 71 | config SMM_TSEG_SIZE |
| 72 | hex |
| 73 | |
Bin Meng | 8cb20cc | 2015-01-06 22:14:15 +0800 | [diff] [blame] | 74 | config X86_RESET_VECTOR |
| 75 | bool |
| 76 | default n |
| 77 | |
| 78 | config SYS_X86_START16 |
| 79 | hex |
| 80 | depends on X86_RESET_VECTOR |
| 81 | default 0xfffff800 |
| 82 | |
Bin Meng | 64542f4 | 2014-12-12 21:05:19 +0800 | [diff] [blame] | 83 | config BOARD_ROMSIZE_KB_512 |
| 84 | bool |
| 85 | config BOARD_ROMSIZE_KB_1024 |
| 86 | bool |
| 87 | config BOARD_ROMSIZE_KB_2048 |
| 88 | bool |
| 89 | config BOARD_ROMSIZE_KB_4096 |
| 90 | bool |
| 91 | config BOARD_ROMSIZE_KB_8192 |
| 92 | bool |
| 93 | config BOARD_ROMSIZE_KB_16384 |
| 94 | bool |
| 95 | |
| 96 | choice |
| 97 | prompt "ROM chip size" |
Bin Meng | 7698d36 | 2015-01-06 22:14:16 +0800 | [diff] [blame] | 98 | depends on X86_RESET_VECTOR |
Bin Meng | 64542f4 | 2014-12-12 21:05:19 +0800 | [diff] [blame] | 99 | default UBOOT_ROMSIZE_KB_512 if BOARD_ROMSIZE_KB_512 |
| 100 | default UBOOT_ROMSIZE_KB_1024 if BOARD_ROMSIZE_KB_1024 |
| 101 | default UBOOT_ROMSIZE_KB_2048 if BOARD_ROMSIZE_KB_2048 |
| 102 | default UBOOT_ROMSIZE_KB_4096 if BOARD_ROMSIZE_KB_4096 |
| 103 | default UBOOT_ROMSIZE_KB_8192 if BOARD_ROMSIZE_KB_8192 |
| 104 | default UBOOT_ROMSIZE_KB_16384 if BOARD_ROMSIZE_KB_16384 |
| 105 | help |
| 106 | Select the size of the ROM chip you intend to flash U-Boot on. |
| 107 | |
| 108 | The build system will take care of creating a u-boot.rom file |
| 109 | of the matching size. |
| 110 | |
| 111 | config UBOOT_ROMSIZE_KB_512 |
| 112 | bool "512 KB" |
| 113 | help |
| 114 | Choose this option if you have a 512 KB ROM chip. |
| 115 | |
| 116 | config UBOOT_ROMSIZE_KB_1024 |
| 117 | bool "1024 KB (1 MB)" |
| 118 | help |
| 119 | Choose this option if you have a 1024 KB (1 MB) ROM chip. |
| 120 | |
| 121 | config UBOOT_ROMSIZE_KB_2048 |
| 122 | bool "2048 KB (2 MB)" |
| 123 | help |
| 124 | Choose this option if you have a 2048 KB (2 MB) ROM chip. |
| 125 | |
| 126 | config UBOOT_ROMSIZE_KB_4096 |
| 127 | bool "4096 KB (4 MB)" |
| 128 | help |
| 129 | Choose this option if you have a 4096 KB (4 MB) ROM chip. |
| 130 | |
| 131 | config UBOOT_ROMSIZE_KB_8192 |
| 132 | bool "8192 KB (8 MB)" |
| 133 | help |
| 134 | Choose this option if you have a 8192 KB (8 MB) ROM chip. |
| 135 | |
| 136 | config UBOOT_ROMSIZE_KB_16384 |
| 137 | bool "16384 KB (16 MB)" |
| 138 | help |
| 139 | Choose this option if you have a 16384 KB (16 MB) ROM chip. |
| 140 | |
| 141 | endchoice |
| 142 | |
| 143 | # Map the config names to an integer (KB). |
| 144 | config UBOOT_ROMSIZE_KB |
| 145 | int |
| 146 | default 512 if UBOOT_ROMSIZE_KB_512 |
| 147 | default 1024 if UBOOT_ROMSIZE_KB_1024 |
| 148 | default 2048 if UBOOT_ROMSIZE_KB_2048 |
| 149 | default 4096 if UBOOT_ROMSIZE_KB_4096 |
| 150 | default 8192 if UBOOT_ROMSIZE_KB_8192 |
| 151 | default 16384 if UBOOT_ROMSIZE_KB_16384 |
| 152 | |
| 153 | # Map the config names to a hex value (bytes). |
Simon Glass | fce7b27 | 2014-11-12 22:42:08 -0700 | [diff] [blame] | 154 | config ROM_SIZE |
| 155 | hex |
Bin Meng | 64542f4 | 2014-12-12 21:05:19 +0800 | [diff] [blame] | 156 | default 0x80000 if UBOOT_ROMSIZE_KB_512 |
| 157 | default 0x100000 if UBOOT_ROMSIZE_KB_1024 |
| 158 | default 0x200000 if UBOOT_ROMSIZE_KB_2048 |
| 159 | default 0x400000 if UBOOT_ROMSIZE_KB_4096 |
| 160 | default 0x800000 if UBOOT_ROMSIZE_KB_8192 |
| 161 | default 0xc00000 if UBOOT_ROMSIZE_KB_12288 |
| 162 | default 0x1000000 if UBOOT_ROMSIZE_KB_16384 |
Simon Glass | fce7b27 | 2014-11-12 22:42:08 -0700 | [diff] [blame] | 163 | |
| 164 | config HAVE_INTEL_ME |
| 165 | bool "Platform requires Intel Management Engine" |
| 166 | help |
| 167 | Newer higher-end devices have an Intel Management Engine (ME) |
| 168 | which is a very large binary blob (typically 1.5MB) which is |
| 169 | required for the platform to work. This enforces a particular |
| 170 | SPI flash format. You will need to supply the me.bin file in |
| 171 | your board directory. |
| 172 | |
Simon Glass | 65dd74a | 2014-11-12 22:42:28 -0700 | [diff] [blame] | 173 | config X86_RAMTEST |
| 174 | bool "Perform a simple RAM test after SDRAM initialisation" |
| 175 | help |
| 176 | If there is something wrong with SDRAM then the platform will |
| 177 | often crash within U-Boot or the kernel. This option enables a |
| 178 | very simple RAM test that quickly checks whether the SDRAM seems |
| 179 | to work correctly. It is not exhaustive but can save time by |
| 180 | detecting obvious failures. |
| 181 | |
Simon Glass | 22465fc | 2014-11-14 20:56:30 -0700 | [diff] [blame] | 182 | config MARK_GRAPHICS_MEM_WRCOMB |
Bin Meng | d99b901 | 2015-04-27 23:22:26 +0800 | [diff] [blame] | 183 | bool "Mark graphics memory as write-combining" |
Simon Glass | 22465fc | 2014-11-14 20:56:30 -0700 | [diff] [blame] | 184 | default n |
| 185 | help |
Bin Meng | d99b901 | 2015-04-27 23:22:26 +0800 | [diff] [blame] | 186 | The graphics performance may increase if the graphics |
| 187 | memory is set as write-combining cache type. This option |
| 188 | enables marking the graphics memory as write-combining. |
Simon Glass | 22465fc | 2014-11-14 20:56:30 -0700 | [diff] [blame] | 189 | |
| 190 | menu "Display" |
| 191 | |
| 192 | config FRAMEBUFFER_SET_VESA_MODE |
| 193 | prompt "Set framebuffer graphics resolution" |
| 194 | bool |
| 195 | help |
| 196 | Set VESA/native framebuffer mode (needed for bootsplash and graphical framebuffer console) |
| 197 | |
| 198 | choice |
| 199 | prompt "framebuffer graphics resolution" |
| 200 | default FRAMEBUFFER_VESA_MODE_117 |
| 201 | depends on FRAMEBUFFER_SET_VESA_MODE |
| 202 | help |
| 203 | This option sets the resolution used for the coreboot framebuffer (and |
| 204 | bootsplash screen). |
| 205 | |
| 206 | config FRAMEBUFFER_VESA_MODE_100 |
| 207 | bool "640x400 256-color" |
| 208 | |
| 209 | config FRAMEBUFFER_VESA_MODE_101 |
| 210 | bool "640x480 256-color" |
| 211 | |
| 212 | config FRAMEBUFFER_VESA_MODE_102 |
| 213 | bool "800x600 16-color" |
| 214 | |
| 215 | config FRAMEBUFFER_VESA_MODE_103 |
| 216 | bool "800x600 256-color" |
| 217 | |
| 218 | config FRAMEBUFFER_VESA_MODE_104 |
| 219 | bool "1024x768 16-color" |
| 220 | |
| 221 | config FRAMEBUFFER_VESA_MODE_105 |
| 222 | bool "1024x7686 256-color" |
| 223 | |
| 224 | config FRAMEBUFFER_VESA_MODE_106 |
| 225 | bool "1280x1024 16-color" |
| 226 | |
| 227 | config FRAMEBUFFER_VESA_MODE_107 |
| 228 | bool "1280x1024 256-color" |
| 229 | |
| 230 | config FRAMEBUFFER_VESA_MODE_108 |
| 231 | bool "80x60 text" |
| 232 | |
| 233 | config FRAMEBUFFER_VESA_MODE_109 |
| 234 | bool "132x25 text" |
| 235 | |
| 236 | config FRAMEBUFFER_VESA_MODE_10A |
| 237 | bool "132x43 text" |
| 238 | |
| 239 | config FRAMEBUFFER_VESA_MODE_10B |
| 240 | bool "132x50 text" |
| 241 | |
| 242 | config FRAMEBUFFER_VESA_MODE_10C |
| 243 | bool "132x60 text" |
| 244 | |
| 245 | config FRAMEBUFFER_VESA_MODE_10D |
| 246 | bool "320x200 32k-color (1:5:5:5)" |
| 247 | |
| 248 | config FRAMEBUFFER_VESA_MODE_10E |
| 249 | bool "320x200 64k-color (5:6:5)" |
| 250 | |
| 251 | config FRAMEBUFFER_VESA_MODE_10F |
| 252 | bool "320x200 16.8M-color (8:8:8)" |
| 253 | |
| 254 | config FRAMEBUFFER_VESA_MODE_110 |
| 255 | bool "640x480 32k-color (1:5:5:5)" |
| 256 | |
| 257 | config FRAMEBUFFER_VESA_MODE_111 |
| 258 | bool "640x480 64k-color (5:6:5)" |
| 259 | |
| 260 | config FRAMEBUFFER_VESA_MODE_112 |
| 261 | bool "640x480 16.8M-color (8:8:8)" |
| 262 | |
| 263 | config FRAMEBUFFER_VESA_MODE_113 |
| 264 | bool "800x600 32k-color (1:5:5:5)" |
| 265 | |
| 266 | config FRAMEBUFFER_VESA_MODE_114 |
| 267 | bool "800x600 64k-color (5:6:5)" |
| 268 | |
| 269 | config FRAMEBUFFER_VESA_MODE_115 |
| 270 | bool "800x600 16.8M-color (8:8:8)" |
| 271 | |
| 272 | config FRAMEBUFFER_VESA_MODE_116 |
| 273 | bool "1024x768 32k-color (1:5:5:5)" |
| 274 | |
| 275 | config FRAMEBUFFER_VESA_MODE_117 |
| 276 | bool "1024x768 64k-color (5:6:5)" |
| 277 | |
| 278 | config FRAMEBUFFER_VESA_MODE_118 |
| 279 | bool "1024x768 16.8M-color (8:8:8)" |
| 280 | |
| 281 | config FRAMEBUFFER_VESA_MODE_119 |
| 282 | bool "1280x1024 32k-color (1:5:5:5)" |
| 283 | |
| 284 | config FRAMEBUFFER_VESA_MODE_11A |
| 285 | bool "1280x1024 64k-color (5:6:5)" |
| 286 | |
| 287 | config FRAMEBUFFER_VESA_MODE_11B |
| 288 | bool "1280x1024 16.8M-color (8:8:8)" |
| 289 | |
| 290 | config FRAMEBUFFER_VESA_MODE_USER |
| 291 | bool "Manually select VESA mode" |
| 292 | |
| 293 | endchoice |
| 294 | |
| 295 | # Map the config names to an integer (KB). |
| 296 | config FRAMEBUFFER_VESA_MODE |
| 297 | prompt "VESA mode" if FRAMEBUFFER_VESA_MODE_USER |
| 298 | hex |
| 299 | default 0x100 if FRAMEBUFFER_VESA_MODE_100 |
| 300 | default 0x101 if FRAMEBUFFER_VESA_MODE_101 |
| 301 | default 0x102 if FRAMEBUFFER_VESA_MODE_102 |
| 302 | default 0x103 if FRAMEBUFFER_VESA_MODE_103 |
| 303 | default 0x104 if FRAMEBUFFER_VESA_MODE_104 |
| 304 | default 0x105 if FRAMEBUFFER_VESA_MODE_105 |
| 305 | default 0x106 if FRAMEBUFFER_VESA_MODE_106 |
| 306 | default 0x107 if FRAMEBUFFER_VESA_MODE_107 |
| 307 | default 0x108 if FRAMEBUFFER_VESA_MODE_108 |
| 308 | default 0x109 if FRAMEBUFFER_VESA_MODE_109 |
| 309 | default 0x10A if FRAMEBUFFER_VESA_MODE_10A |
| 310 | default 0x10B if FRAMEBUFFER_VESA_MODE_10B |
| 311 | default 0x10C if FRAMEBUFFER_VESA_MODE_10C |
| 312 | default 0x10D if FRAMEBUFFER_VESA_MODE_10D |
| 313 | default 0x10E if FRAMEBUFFER_VESA_MODE_10E |
| 314 | default 0x10F if FRAMEBUFFER_VESA_MODE_10F |
| 315 | default 0x110 if FRAMEBUFFER_VESA_MODE_110 |
| 316 | default 0x111 if FRAMEBUFFER_VESA_MODE_111 |
| 317 | default 0x112 if FRAMEBUFFER_VESA_MODE_112 |
| 318 | default 0x113 if FRAMEBUFFER_VESA_MODE_113 |
| 319 | default 0x114 if FRAMEBUFFER_VESA_MODE_114 |
| 320 | default 0x115 if FRAMEBUFFER_VESA_MODE_115 |
| 321 | default 0x116 if FRAMEBUFFER_VESA_MODE_116 |
| 322 | default 0x117 if FRAMEBUFFER_VESA_MODE_117 |
| 323 | default 0x118 if FRAMEBUFFER_VESA_MODE_118 |
| 324 | default 0x119 if FRAMEBUFFER_VESA_MODE_119 |
| 325 | default 0x11A if FRAMEBUFFER_VESA_MODE_11A |
| 326 | default 0x11B if FRAMEBUFFER_VESA_MODE_11B |
| 327 | default 0x117 if FRAMEBUFFER_VESA_MODE_USER |
| 328 | |
| 329 | endmenu |
| 330 | |
Simon Glass | 8ce24cd | 2015-01-27 22:13:41 -0700 | [diff] [blame] | 331 | config HAVE_FSP |
| 332 | bool "Add an Firmware Support Package binary" |
| 333 | help |
| 334 | Select this option to add an Firmware Support Package binary to |
| 335 | the resulting U-Boot image. It is a binary blob which U-Boot uses |
| 336 | to set up SDRAM and other chipset specific initialization. |
| 337 | |
| 338 | Note: Without this binary U-Boot will not be able to set up its |
| 339 | SDRAM so will not boot. |
| 340 | |
| 341 | config FSP_FILE |
| 342 | string "Firmware Support Package binary filename" |
| 343 | depends on HAVE_FSP |
| 344 | default "fsp.bin" |
| 345 | help |
| 346 | The filename of the file to use as Firmware Support Package binary |
| 347 | in the board directory. |
| 348 | |
| 349 | config FSP_ADDR |
| 350 | hex "Firmware Support Package binary location" |
| 351 | depends on HAVE_FSP |
| 352 | default 0xfffc0000 |
| 353 | help |
| 354 | FSP is not Position Independent Code (PIC) and the whole FSP has to |
| 355 | be rebased if it is placed at a location which is different from the |
| 356 | perferred base address specified during the FSP build. Use Intel's |
| 357 | Binary Configuration Tool (BCT) to do the rebase. |
| 358 | |
| 359 | The default base address of 0xfffc0000 indicates that the binary must |
| 360 | be located at offset 0xc0000 from the beginning of a 1MB flash device. |
| 361 | |
| 362 | config FSP_TEMP_RAM_ADDR |
| 363 | hex |
| 364 | default 0x2000000 |
| 365 | help |
| 366 | Stack top address which is used in FspInit after DRAM is ready and |
| 367 | CAR is disabled. |
| 368 | |
Simon Glass | 45b5a37 | 2015-04-29 22:25:59 -0600 | [diff] [blame] | 369 | config MAX_CPUS |
| 370 | int "Maximum number of CPUs permitted" |
| 371 | default 4 |
| 372 | help |
| 373 | When using multi-CPU chips it is possible for U-Boot to start up |
| 374 | more than one CPU. The stack memory used by all of these CPUs is |
| 375 | pre-allocated so at present U-Boot wants to know the maximum |
| 376 | number of CPUs that may be present. Set this to at least as high |
| 377 | as the number of CPUs in your system (it uses about 4KB of RAM for |
| 378 | each CPU). |
| 379 | |
| 380 | config SMP |
| 381 | bool "Enable Symmetric Multiprocessing" |
| 382 | default n |
| 383 | help |
| 384 | Enable use of more than one CPU in U-Boot and the Operating System |
| 385 | when loaded. Each CPU will be started up and information can be |
| 386 | obtained using the 'cpu' command. If this option is disabled, then |
| 387 | only one CPU will be enabled regardless of the number of CPUs |
| 388 | available. |
| 389 | |
| 390 | config AP_STACK_SIZE |
| 391 | hex |
| 392 | default 0x1000 |
| 393 | help |
| 394 | Each additional CPU started by U-Boot requires its own stack. This |
| 395 | option sets the stack size used by each CPU and directly affects |
| 396 | the memory used by this initialisation process. Typically 4KB is |
| 397 | enough space. |
| 398 | |
Bin Meng | f56aeaa | 2015-02-05 23:42:20 +0800 | [diff] [blame] | 399 | config TSC_CALIBRATION_BYPASS |
| 400 | bool "Bypass Time-Stamp Counter (TSC) calibration" |
| 401 | default n |
| 402 | help |
| 403 | By default U-Boot automatically calibrates Time-Stamp Counter (TSC) |
| 404 | running frequency via Model-Specific Register (MSR) and Programmable |
| 405 | Interval Timer (PIT). If the calibration does not work on your board, |
| 406 | select this option and provide a hardcoded TSC running frequency with |
| 407 | CONFIG_TSC_FREQ_IN_MHZ below. |
| 408 | |
| 409 | Normally this option should be turned on in a simulation environment |
| 410 | like qemu. |
| 411 | |
| 412 | config TSC_FREQ_IN_MHZ |
| 413 | int "Time-Stamp Counter (TSC) running frequency in MHz" |
| 414 | depends on TSC_CALIBRATION_BYPASS |
| 415 | default 1000 |
| 416 | help |
| 417 | The running frequency in MHz of Time-Stamp Counter (TSC). |
| 418 | |
Bin Meng | b5b6b01 | 2015-04-24 18:10:05 +0800 | [diff] [blame] | 419 | menu "System tables" |
| 420 | |
| 421 | config GENERATE_PIRQ_TABLE |
| 422 | bool "Generate a PIRQ table" |
| 423 | default n |
| 424 | help |
| 425 | Generate a PIRQ routing table for this board. The PIRQ routing table |
| 426 | is generated by U-Boot in the system memory from 0xf0000 to 0xfffff |
| 427 | at every 16-byte boundary with a PCI IRQ routing signature ("$PIR"). |
| 428 | It specifies the interrupt router information as well how all the PCI |
| 429 | devices' interrupt pins are wired to PIRQs. |
| 430 | |
Simon Glass | 6388e35 | 2015-04-28 20:25:10 -0600 | [diff] [blame] | 431 | config GENERATE_SFI_TABLE |
| 432 | bool "Generate a SFI (Simple Firmware Interface) table" |
| 433 | help |
| 434 | The Simple Firmware Interface (SFI) provides a lightweight method |
| 435 | for platform firmware to pass information to the operating system |
| 436 | via static tables in memory. Kernel SFI support is required to |
| 437 | boot on SFI-only platforms. If you have ACPI tables then these are |
| 438 | used instead. |
| 439 | |
| 440 | U-Boot writes this table in write_sfi_table() just before booting |
| 441 | the OS. |
| 442 | |
| 443 | For more information, see http://simplefirmware.org |
| 444 | |
Bin Meng | b5b6b01 | 2015-04-24 18:10:05 +0800 | [diff] [blame] | 445 | endmenu |
| 446 | |
| 447 | config MAX_PIRQ_LINKS |
| 448 | int |
| 449 | default 8 |
| 450 | help |
| 451 | This variable specifies the number of PIRQ interrupt links which are |
| 452 | routable. On most older chipsets, this is 4, PIRQA through PIRQD. |
| 453 | Some newer chipsets offer more than four links, commonly up to PIRQH. |
| 454 | |
| 455 | config IRQ_SLOT_COUNT |
| 456 | int |
| 457 | default 128 |
| 458 | help |
| 459 | U-Boot can support up to 254 IRQ slot info in the PIRQ routing table |
| 460 | which in turns forms a table of exact 4KiB. The default value 128 |
| 461 | should be enough for most boards. If this does not fit your board, |
| 462 | change it according to your needs. |
| 463 | |
Simon Glass | 2d934e5 | 2015-01-27 22:13:33 -0700 | [diff] [blame] | 464 | config PCIE_ECAM_BASE |
| 465 | hex |
Bin Meng | ba877ef | 2015-02-02 21:25:09 +0800 | [diff] [blame] | 466 | default 0xe0000000 |
Simon Glass | 2d934e5 | 2015-01-27 22:13:33 -0700 | [diff] [blame] | 467 | help |
| 468 | This is the memory-mapped address of PCI configuration space, which |
| 469 | is only available through the Enhanced Configuration Access |
| 470 | Mechanism (ECAM) with PCI Express. It can be set up almost |
| 471 | anywhere. Before it is set up, it is possible to access PCI |
| 472 | configuration space through I/O access, but memory access is more |
| 473 | convenient. Using this, PCI can be scanned and configured. This |
| 474 | should be set to a region that does not conflict with memory |
| 475 | assigned to PCI devices - i.e. the memory and prefetch regions, as |
| 476 | passed to pci_set_region(). |
| 477 | |
Simon Glass | ee2b243 | 2015-03-02 17:04:37 -0700 | [diff] [blame] | 478 | config BOOTSTAGE |
| 479 | default y |
| 480 | |
| 481 | config BOOTSTAGE_REPORT |
| 482 | default y |
| 483 | |
| 484 | config CMD_BOOTSTAGE |
| 485 | default y |
| 486 | |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 487 | endmenu |