Kconfig 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050
  1. menu "x86 architecture"
  2. depends on X86
  3. config SYS_ARCH
  4. default "x86"
  5. choice
  6. prompt "Run U-Boot in 32/64-bit mode"
  7. default X86_RUN_32BIT
  8. help
  9. U-Boot can be built as a 32-bit binary which runs in 32-bit mode
  10. even on 64-bit machines. In this case SPL is not used, and U-Boot
  11. runs directly from the reset vector (via 16-bit start-up).
  12. Alternatively it can be run as a 64-bit binary, thus requiring a
  13. 64-bit machine. In this case SPL runs in 32-bit mode (via 16-bit
  14. start-up) then jumps to U-Boot in 64-bit mode.
  15. For now, 32-bit mode is recommended, as 64-bit is still
  16. experimental and is missing a lot of features.
  17. config X86_RUN_32BIT
  18. bool "32-bit"
  19. help
  20. Build U-Boot as a 32-bit binary with no SPL. This is the currently
  21. supported normal setup. U-Boot will stay in 32-bit mode even on
  22. 64-bit machines. When booting a 64-bit kernel, U-Boot will switch
  23. to 64-bit just before starting the kernel. Only the bottom 4GB of
  24. memory can be accessed through normal means, although
  25. arch_phys_memset() can be used for basic access to other memory.
  26. config X86_RUN_64BIT
  27. bool "64-bit"
  28. select X86_64
  29. select SPL
  30. select SPL_SEPARATE_BSS
  31. help
  32. Build U-Boot as a 64-bit binary with a 32-bit SPL. This is
  33. experimental and many features are missing. U-Boot SPL starts up,
  34. runs through the 16-bit and 32-bit init, then switches to 64-bit
  35. mode and jumps to U-Boot proper.
  36. endchoice
  37. config X86_64
  38. bool
  39. config SPL_X86_64
  40. bool
  41. depends on SPL
  42. choice
  43. prompt "Mainboard vendor"
  44. default VENDOR_EMULATION
  45. config VENDOR_ADVANTECH
  46. bool "advantech"
  47. config VENDOR_CONGATEC
  48. bool "congatec"
  49. config VENDOR_COREBOOT
  50. bool "coreboot"
  51. config VENDOR_DFI
  52. bool "dfi"
  53. config VENDOR_EFI
  54. bool "efi"
  55. config VENDOR_EMULATION
  56. bool "emulation"
  57. config VENDOR_GOOGLE
  58. bool "Google"
  59. config VENDOR_INTEL
  60. bool "Intel"
  61. endchoice
  62. # subarchitectures-specific options below
  63. config INTEL_MID
  64. bool "Intel MID platform support"
  65. select REGMAP
  66. select SYSCON
  67. help
  68. Select to build a U-Boot capable of supporting Intel MID
  69. (Mobile Internet Device) platform systems which do not have
  70. the PCI legacy interfaces.
  71. If you are building for a PC class system say N here.
  72. Intel MID platforms are based on an Intel processor and
  73. chipset which consume less power than most of the x86
  74. derivatives.
  75. # board-specific options below
  76. source "board/advantech/Kconfig"
  77. source "board/congatec/Kconfig"
  78. source "board/coreboot/Kconfig"
  79. source "board/dfi/Kconfig"
  80. source "board/efi/Kconfig"
  81. source "board/emulation/Kconfig"
  82. source "board/google/Kconfig"
  83. source "board/intel/Kconfig"
  84. # platform-specific options below
  85. source "arch/x86/cpu/apollolake/Kconfig"
  86. source "arch/x86/cpu/baytrail/Kconfig"
  87. source "arch/x86/cpu/braswell/Kconfig"
  88. source "arch/x86/cpu/broadwell/Kconfig"
  89. source "arch/x86/cpu/coreboot/Kconfig"
  90. source "arch/x86/cpu/ivybridge/Kconfig"
  91. source "arch/x86/cpu/efi/Kconfig"
  92. source "arch/x86/cpu/qemu/Kconfig"
  93. source "arch/x86/cpu/quark/Kconfig"
  94. source "arch/x86/cpu/queensbay/Kconfig"
  95. source "arch/x86/cpu/slimbootloader/Kconfig"
  96. source "arch/x86/cpu/tangier/Kconfig"
  97. # architecture-specific options below
  98. config AHCI
  99. default y
  100. config SYS_MALLOC_F_LEN
  101. default 0x800
  102. config RAMBASE
  103. hex
  104. default 0x100000
  105. config XIP_ROM_SIZE
  106. hex
  107. depends on X86_RESET_VECTOR
  108. default ROM_SIZE
  109. config CPU_ADDR_BITS
  110. int
  111. default 36
  112. config HPET_ADDRESS
  113. hex
  114. default 0xfed00000 if !HPET_ADDRESS_OVERRIDE
  115. config SMM_TSEG
  116. bool
  117. default n
  118. config SMM_TSEG_SIZE
  119. hex
  120. config X86_RESET_VECTOR
  121. bool
  122. default n
  123. select BINMAN
  124. # The following options control where the 16-bit and 32-bit init lies
  125. # If SPL is enabled then it normally holds this init code, and U-Boot proper
  126. # is normally a 64-bit build.
  127. #
  128. # The 16-bit init refers to the reset vector and the small amount of code to
  129. # get the processor into 32-bit mode. It may be in SPL or in U-Boot proper,
  130. # or missing altogether if U-Boot is started from EFI or coreboot.
  131. #
  132. # The 32-bit init refers to processor init, running binary blobs including
  133. # FSP, setting up interrupts and anything else that needs to be done in
  134. # 32-bit code. It is normally in the same place as 16-bit init if that is
  135. # enabled (i.e. they are both in SPL, or both in U-Boot proper).
  136. config X86_16BIT_INIT
  137. bool
  138. depends on X86_RESET_VECTOR
  139. default y if X86_RESET_VECTOR && !SPL
  140. help
  141. This is enabled when 16-bit init is in U-Boot proper
  142. config SPL_X86_16BIT_INIT
  143. bool
  144. depends on X86_RESET_VECTOR
  145. default y if X86_RESET_VECTOR && SPL && !TPL
  146. help
  147. This is enabled when 16-bit init is in SPL
  148. config TPL_X86_16BIT_INIT
  149. bool
  150. depends on X86_RESET_VECTOR
  151. default y if X86_RESET_VECTOR && TPL
  152. help
  153. This is enabled when 16-bit init is in TPL
  154. config X86_32BIT_INIT
  155. bool
  156. depends on X86_RESET_VECTOR
  157. default y if X86_RESET_VECTOR && !SPL
  158. help
  159. This is enabled when 32-bit init is in U-Boot proper
  160. config SPL_X86_32BIT_INIT
  161. bool
  162. depends on X86_RESET_VECTOR
  163. default y if X86_RESET_VECTOR && SPL
  164. help
  165. This is enabled when 32-bit init is in SPL
  166. config USE_EARLY_BOARD_INIT
  167. bool
  168. config RESET_SEG_START
  169. hex
  170. depends on X86_RESET_VECTOR
  171. default 0xffff0000
  172. config RESET_VEC_LOC
  173. hex
  174. depends on X86_RESET_VECTOR
  175. default 0xfffffff0
  176. config SYS_X86_START16
  177. hex
  178. depends on X86_RESET_VECTOR
  179. default 0xfffff800
  180. config HAVE_X86_FIT
  181. bool
  182. help
  183. Enable inclusion of an Intel Firmware Interface Table (FIT) into the
  184. image. This table is supposed to point to microcode and the like. So
  185. far it is just a fixed table with the minimum set of headers, so that
  186. it is actually present.
  187. config X86_LOAD_FROM_32_BIT
  188. bool "Boot from a 32-bit program"
  189. help
  190. Define this to boot U-Boot from a 32-bit program which sets
  191. the GDT differently. This can be used to boot directly from
  192. any stage of coreboot, for example, bypassing the normal
  193. payload-loading feature.
  194. config BOARD_ROMSIZE_KB_512
  195. bool
  196. config BOARD_ROMSIZE_KB_1024
  197. bool
  198. config BOARD_ROMSIZE_KB_2048
  199. bool
  200. config BOARD_ROMSIZE_KB_4096
  201. bool
  202. config BOARD_ROMSIZE_KB_8192
  203. bool
  204. config BOARD_ROMSIZE_KB_16384
  205. bool
  206. choice
  207. prompt "ROM chip size"
  208. depends on X86_RESET_VECTOR
  209. default UBOOT_ROMSIZE_KB_512 if BOARD_ROMSIZE_KB_512
  210. default UBOOT_ROMSIZE_KB_1024 if BOARD_ROMSIZE_KB_1024
  211. default UBOOT_ROMSIZE_KB_2048 if BOARD_ROMSIZE_KB_2048
  212. default UBOOT_ROMSIZE_KB_4096 if BOARD_ROMSIZE_KB_4096
  213. default UBOOT_ROMSIZE_KB_8192 if BOARD_ROMSIZE_KB_8192
  214. default UBOOT_ROMSIZE_KB_16384 if BOARD_ROMSIZE_KB_16384
  215. help
  216. Select the size of the ROM chip you intend to flash U-Boot on.
  217. The build system will take care of creating a u-boot.rom file
  218. of the matching size.
  219. config UBOOT_ROMSIZE_KB_512
  220. bool "512 KB"
  221. help
  222. Choose this option if you have a 512 KB ROM chip.
  223. config UBOOT_ROMSIZE_KB_1024
  224. bool "1024 KB (1 MB)"
  225. help
  226. Choose this option if you have a 1024 KB (1 MB) ROM chip.
  227. config UBOOT_ROMSIZE_KB_2048
  228. bool "2048 KB (2 MB)"
  229. help
  230. Choose this option if you have a 2048 KB (2 MB) ROM chip.
  231. config UBOOT_ROMSIZE_KB_4096
  232. bool "4096 KB (4 MB)"
  233. help
  234. Choose this option if you have a 4096 KB (4 MB) ROM chip.
  235. config UBOOT_ROMSIZE_KB_8192
  236. bool "8192 KB (8 MB)"
  237. help
  238. Choose this option if you have a 8192 KB (8 MB) ROM chip.
  239. config UBOOT_ROMSIZE_KB_16384
  240. bool "16384 KB (16 MB)"
  241. help
  242. Choose this option if you have a 16384 KB (16 MB) ROM chip.
  243. endchoice
  244. # Map the config names to an integer (KB).
  245. config UBOOT_ROMSIZE_KB
  246. int
  247. default 512 if UBOOT_ROMSIZE_KB_512
  248. default 1024 if UBOOT_ROMSIZE_KB_1024
  249. default 2048 if UBOOT_ROMSIZE_KB_2048
  250. default 4096 if UBOOT_ROMSIZE_KB_4096
  251. default 8192 if UBOOT_ROMSIZE_KB_8192
  252. default 16384 if UBOOT_ROMSIZE_KB_16384
  253. # Map the config names to a hex value (bytes).
  254. config ROM_SIZE
  255. hex
  256. default 0x80000 if UBOOT_ROMSIZE_KB_512
  257. default 0x100000 if UBOOT_ROMSIZE_KB_1024
  258. default 0x200000 if UBOOT_ROMSIZE_KB_2048
  259. default 0x400000 if UBOOT_ROMSIZE_KB_4096
  260. default 0x800000 if UBOOT_ROMSIZE_KB_8192
  261. default 0xc00000 if UBOOT_ROMSIZE_KB_12288
  262. default 0x1000000 if UBOOT_ROMSIZE_KB_16384
  263. config HAVE_INTEL_ME
  264. bool "Platform requires Intel Management Engine"
  265. help
  266. Newer higher-end devices have an Intel Management Engine (ME)
  267. which is a very large binary blob (typically 1.5MB) which is
  268. required for the platform to work. This enforces a particular
  269. SPI flash format. You will need to supply the me.bin file in
  270. your board directory.
  271. config X86_RAMTEST
  272. bool "Perform a simple RAM test after SDRAM initialisation"
  273. help
  274. If there is something wrong with SDRAM then the platform will
  275. often crash within U-Boot or the kernel. This option enables a
  276. very simple RAM test that quickly checks whether the SDRAM seems
  277. to work correctly. It is not exhaustive but can save time by
  278. detecting obvious failures.
  279. config FLASH_DESCRIPTOR_FILE
  280. string "Flash descriptor binary filename"
  281. depends on HAVE_INTEL_ME || FSP_VERSION2
  282. default "descriptor.bin"
  283. help
  284. The filename of the file to use as flash descriptor in the
  285. board directory.
  286. config INTEL_ME_FILE
  287. string "Intel Management Engine binary filename"
  288. depends on HAVE_INTEL_ME
  289. default "me.bin"
  290. help
  291. The filename of the file to use as Intel Management Engine in the
  292. board directory.
  293. config USE_HOB
  294. bool "Use HOB (Hand-Off Block)"
  295. help
  296. Select this option to access HOB (Hand-Off Block) data structures
  297. and parse HOBs. This HOB infra structure can be reused with
  298. different solutions across different platforms.
  299. config HAVE_FSP
  300. bool "Add an Firmware Support Package binary"
  301. depends on !EFI
  302. select USE_HOB
  303. select HAS_ROM
  304. select ROM_NEEDS_BLOBS
  305. help
  306. Select this option to add an Firmware Support Package binary to
  307. the resulting U-Boot image. It is a binary blob which U-Boot uses
  308. to set up SDRAM and other chipset specific initialization.
  309. Note: Without this binary U-Boot will not be able to set up its
  310. SDRAM so will not boot.
  311. config USE_CAR
  312. bool "Use Cache-As-RAM (CAR) to get temporary RAM at start-up"
  313. default y if !HAVE_FSP
  314. help
  315. Select this option if your board uses CAR init code, typically in a
  316. car.S file, to get some initial memory for code execution. This is
  317. common with Intel CPUs which don't use FSP.
  318. choice
  319. prompt "FSP version"
  320. depends on HAVE_FSP
  321. default FSP_VERSION1
  322. help
  323. Selects the FSP version to use. Intel has published several versions
  324. of the FSP External Architecture Specification and this allows
  325. selection of the version number used by a particular SoC.
  326. config FSP_VERSION1
  327. bool "FSP version 1.x"
  328. help
  329. This covers versions 1.0 and 1.1a. See here for details:
  330. https://github.com/IntelFsp/fsp/wiki
  331. config FSP_VERSION2
  332. bool "FSP version 2.x"
  333. help
  334. This covers versions 2.0 and 2.1. See here for details:
  335. https://github.com/IntelFsp/fsp/wiki
  336. endchoice
  337. config FSP_FILE
  338. string "Firmware Support Package binary filename"
  339. depends on FSP_VERSION1
  340. default "fsp.bin"
  341. help
  342. The filename of the file to use as Firmware Support Package binary
  343. in the board directory.
  344. config FSP_ADDR
  345. hex "Firmware Support Package binary location"
  346. depends on FSP_VERSION1
  347. default 0xfffc0000
  348. help
  349. FSP is not Position Independent Code (PIC) and the whole FSP has to
  350. be rebased if it is placed at a location which is different from the
  351. perferred base address specified during the FSP build. Use Intel's
  352. Binary Configuration Tool (BCT) to do the rebase.
  353. The default base address of 0xfffc0000 indicates that the binary must
  354. be located at offset 0xc0000 from the beginning of a 1MB flash device.
  355. if FSP_VERSION2
  356. config FSP_FILE_T
  357. string "Firmware Support Package binary filename (Temp RAM)"
  358. default "fsp_t.bin"
  359. help
  360. The filename of the file to use for the temporary-RAM init phase from
  361. the Firmware Support Package binary. Put this in the board directory.
  362. It is used to set up an initial area of RAM which can be used for the
  363. stack and other purposes, while bringing up the main system DRAM.
  364. config FSP_ADDR_T
  365. hex "Firmware Support Package binary location (Temp RAM)"
  366. default 0xffff8000
  367. help
  368. FSP is not Position-Independent Code (PIC) and FSP components have to
  369. be rebased if placed at a location which is different from the
  370. perferred base address specified during the FSP build. Use Intel's
  371. Binary Configuration Tool (BCT) to do the rebase.
  372. config FSP_FILE_M
  373. string "Firmware Support Package binary filename (Memory Init)"
  374. default "fsp_m.bin"
  375. help
  376. The filename of the file to use for the RAM init phase from the
  377. Firmware Support Package binary. Put this in the board directory.
  378. It is used to set up the main system DRAM and runs in SPL, once
  379. temporary RAM (CAR) is working.
  380. config FSP_FILE_S
  381. string "Firmware Support Package binary filename (Silicon Init)"
  382. default "fsp_s.bin"
  383. help
  384. The filename of the file to use for the Silicon init phase from the
  385. Firmware Support Package binary. Put this in the board directory.
  386. It is used to set up the silicon to work correctly and must be
  387. executed after DRAM is running.
  388. config IFWI_INPUT_FILE
  389. string "Filename containing FIT (Firmware Interface Table) with IFWI"
  390. default "fitimage.bin"
  391. help
  392. The IFWI is obtained by running a tool on this file to extract the
  393. IFWI. Put this in the board directory. The IFWI contains U-Boot TPL,
  394. microcode and other internal items.
  395. endif
  396. config FSP_TEMP_RAM_ADDR
  397. hex
  398. depends on FSP_VERSION1
  399. default 0x2000000
  400. help
  401. Stack top address which is used in fsp_init() after DRAM is ready and
  402. CAR is disabled.
  403. config FSP_SYS_MALLOC_F_LEN
  404. hex
  405. depends on FSP_VERSION1
  406. default 0x100000
  407. help
  408. Additional size of malloc() pool before relocation.
  409. config FSP_USE_UPD
  410. bool
  411. depends on FSP_VERSION1
  412. default y
  413. help
  414. Most FSPs use UPD data region for some FSP customization. But there
  415. are still some FSPs that might not even have UPD. For such FSPs,
  416. override this to n in their platform Kconfig files.
  417. config FSP_BROKEN_HOB
  418. bool
  419. depends on FSP_VERSION1
  420. help
  421. Indicate some buggy FSPs that does not report memory used by FSP
  422. itself as reserved in the resource descriptor HOB. Select this to
  423. tell U-Boot to do some additional work to ensure U-Boot relocation
  424. do not overwrite the important boot service data which is used by
  425. FSP, otherwise the subsequent call to fsp_notify() will fail.
  426. config ENABLE_MRC_CACHE
  427. bool "Enable MRC cache"
  428. depends on !EFI && !SYS_COREBOOT
  429. help
  430. Enable this feature to cause MRC data to be cached in NV storage
  431. to be used for speeding up boot time on future reboots and/or
  432. power cycles.
  433. For platforms that use Intel FSP for the memory initialization,
  434. please check FSP output HOB via U-Boot command 'fsp hob' to see
  435. if there is FSP_NON_VOLATILE_STORAGE_HOB_GUID (asm/fsp1/fsp_hob.h).
  436. If such GUID does not exist, MRC cache is not available on such
  437. platform (eg: Intel Queensbay), which means selecting this option
  438. here does not make any difference.
  439. config HAVE_MRC
  440. bool "Add a System Agent binary"
  441. select HAS_ROM
  442. select ROM_NEEDS_BLOBS
  443. depends on !HAVE_FSP
  444. help
  445. Select this option to add a System Agent binary to
  446. the resulting U-Boot image. MRC stands for Memory Reference Code.
  447. It is a binary blob which U-Boot uses to set up SDRAM.
  448. Note: Without this binary U-Boot will not be able to set up its
  449. SDRAM so will not boot.
  450. config CACHE_MRC_BIN
  451. bool
  452. depends on HAVE_MRC
  453. default n
  454. help
  455. Enable caching for the memory reference code binary. This uses an
  456. MTRR (memory type range register) to turn on caching for the section
  457. of SPI flash that contains the memory reference code. This makes
  458. SDRAM init run faster.
  459. config CACHE_MRC_SIZE_KB
  460. int
  461. depends on HAVE_MRC
  462. default 512
  463. help
  464. Sets the size of the cached area for the memory reference code.
  465. This ends at the end of SPI flash (address 0xffffffff) and is
  466. measured in KB. Typically this is set to 512, providing for 0.5MB
  467. of cached space.
  468. config DCACHE_RAM_BASE
  469. hex
  470. depends on HAVE_MRC
  471. help
  472. Sets the base of the data cache area in memory space. This is the
  473. start address of the cache-as-RAM (CAR) area and the address varies
  474. depending on the CPU. Once CAR is set up, read/write memory becomes
  475. available at this address and can be used temporarily until SDRAM
  476. is working.
  477. config DCACHE_RAM_SIZE
  478. hex
  479. depends on HAVE_MRC
  480. default 0x40000
  481. help
  482. Sets the total size of the data cache area in memory space. This
  483. sets the size of the cache-as-RAM (CAR) area. Note that much of the
  484. CAR space is required by the MRC. The CAR space available to U-Boot
  485. is normally at the start and typically extends to 1/4 or 1/2 of the
  486. available size.
  487. config DCACHE_RAM_MRC_VAR_SIZE
  488. hex
  489. depends on HAVE_MRC
  490. help
  491. This is the amount of CAR (Cache as RAM) reserved for use by the
  492. memory reference code. This depends on the implementation of the
  493. memory reference code and must be set correctly or the board will
  494. not boot.
  495. config HAVE_REFCODE
  496. bool "Add a Reference Code binary"
  497. help
  498. Select this option to add a Reference Code binary to the resulting
  499. U-Boot image. This is an Intel binary blob that handles system
  500. initialisation, in this case the PCH and System Agent.
  501. Note: Without this binary (on platforms that need it such as
  502. broadwell) U-Boot will be missing some critical setup steps.
  503. Various peripherals may fail to work.
  504. config HAVE_MICROCODE
  505. bool "Board requires a microcode binary"
  506. default y if !FSP_VERSION2
  507. help
  508. Enable this if the board requires microcode to be loaded on boot.
  509. Typically this is handed by the FSP for modern boards, but for
  510. some older boards, it must be programmed by U-Boot, and that form
  511. part of the image.
  512. config SMP
  513. bool "Enable Symmetric Multiprocessing"
  514. default n
  515. help
  516. Enable use of more than one CPU in U-Boot and the Operating System
  517. when loaded. Each CPU will be started up and information can be
  518. obtained using the 'cpu' command. If this option is disabled, then
  519. only one CPU will be enabled regardless of the number of CPUs
  520. available.
  521. config SMP_AP_WORK
  522. bool
  523. depends on SMP
  524. help
  525. Allow APs to do other work after initialisation instead of going
  526. to sleep.
  527. config MAX_CPUS
  528. int "Maximum number of CPUs permitted"
  529. depends on SMP
  530. default 4
  531. help
  532. When using multi-CPU chips it is possible for U-Boot to start up
  533. more than one CPU. The stack memory used by all of these CPUs is
  534. pre-allocated so at present U-Boot wants to know the maximum
  535. number of CPUs that may be present. Set this to at least as high
  536. as the number of CPUs in your system (it uses about 4KB of RAM for
  537. each CPU).
  538. config AP_STACK_SIZE
  539. hex
  540. depends on SMP
  541. default 0x1000
  542. help
  543. Each additional CPU started by U-Boot requires its own stack. This
  544. option sets the stack size used by each CPU and directly affects
  545. the memory used by this initialisation process. Typically 4KB is
  546. enough space.
  547. config CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED
  548. bool
  549. help
  550. This option indicates that the turbo mode setting is not package
  551. scoped. i.e. turbo_enable() needs to be called on not just the
  552. bootstrap processor (BSP).
  553. config HAVE_VGA_BIOS
  554. bool "Add a VGA BIOS image"
  555. help
  556. Select this option if you have a VGA BIOS image that you would
  557. like to add to your ROM.
  558. config VGA_BIOS_FILE
  559. string "VGA BIOS image filename"
  560. depends on HAVE_VGA_BIOS
  561. default "vga.bin"
  562. help
  563. The filename of the VGA BIOS image in the board directory.
  564. config VGA_BIOS_ADDR
  565. hex "VGA BIOS image location"
  566. depends on HAVE_VGA_BIOS
  567. default 0xfff90000
  568. help
  569. The location of VGA BIOS image in the SPI flash. For example, base
  570. address of 0xfff90000 indicates that the image will be put at offset
  571. 0x90000 from the beginning of a 1MB flash device.
  572. config HAVE_VBT
  573. bool "Add a Video BIOS Table (VBT) image"
  574. depends on HAVE_FSP
  575. help
  576. Select this option if you have a Video BIOS Table (VBT) image that
  577. you would like to add to your ROM. This is normally required if you
  578. are using an Intel FSP firmware that is complaint with spec 1.1 or
  579. later to initialize the integrated graphics device (IGD).
  580. Video BIOS Table, or VBT, provides platform and board specific
  581. configuration information to the driver that is not discoverable
  582. or available through other means. By other means the most used
  583. method here is to read EDID table from the attached monitor, over
  584. Display Data Channel (DDC) using two pin I2C serial interface. VBT
  585. configuration is related to display hardware and is available via
  586. the ACPI OpRegion or, on older systems, in the PCI ROM (Option ROM).
  587. config VBT_FILE
  588. string "Video BIOS Table (VBT) image filename"
  589. depends on HAVE_VBT
  590. default "vbt.bin"
  591. help
  592. The filename of the file to use as Video BIOS Table (VBT) image
  593. in the board directory.
  594. config VBT_ADDR
  595. hex "Video BIOS Table (VBT) image location"
  596. depends on HAVE_VBT
  597. default 0xfff90000
  598. help
  599. The location of Video BIOS Table (VBT) image in the SPI flash. For
  600. example, base address of 0xfff90000 indicates that the image will
  601. be put at offset 0x90000 from the beginning of a 1MB flash device.
  602. config VIDEO_FSP
  603. bool "Enable FSP framebuffer driver support"
  604. depends on HAVE_VBT && DM_VIDEO
  605. help
  606. Turn on this option to enable a framebuffer driver when U-Boot is
  607. using Video BIOS Table (VBT) image for FSP firmware to initialize
  608. the integrated graphics device.
  609. config ROM_TABLE_ADDR
  610. hex
  611. default 0xf0000
  612. help
  613. All x86 tables happen to like the address range from 0x0f0000
  614. to 0x100000. We use 0xf0000 as the starting address to store
  615. those tables, including PIRQ routing table, Multi-Processor
  616. table and ACPI table.
  617. config ROM_TABLE_SIZE
  618. hex
  619. default 0x10000
  620. config HAVE_ITSS
  621. bool "Enable ITSS"
  622. help
  623. Select this to include the driver for the Interrupt Timer
  624. Subsystem (ITSS) which is found on several Intel devices.
  625. config HAVE_P2SB
  626. bool "Enable P2SB"
  627. depends on P2SB
  628. help
  629. Select this to include the driver for the Primary to
  630. Sideband Bridge (P2SB) which is found on several Intel
  631. devices.
  632. menu "System tables"
  633. depends on !EFI && !SYS_COREBOOT
  634. config GENERATE_PIRQ_TABLE
  635. bool "Generate a PIRQ table"
  636. default n
  637. help
  638. Generate a PIRQ routing table for this board. The PIRQ routing table
  639. is generated by U-Boot in the system memory from 0xf0000 to 0xfffff
  640. at every 16-byte boundary with a PCI IRQ routing signature ("$PIR").
  641. It specifies the interrupt router information as well how all the PCI
  642. devices' interrupt pins are wired to PIRQs.
  643. config GENERATE_SFI_TABLE
  644. bool "Generate a SFI (Simple Firmware Interface) table"
  645. help
  646. The Simple Firmware Interface (SFI) provides a lightweight method
  647. for platform firmware to pass information to the operating system
  648. via static tables in memory. Kernel SFI support is required to
  649. boot on SFI-only platforms. If you have ACPI tables then these are
  650. used instead.
  651. U-Boot writes this table in write_sfi_table() just before booting
  652. the OS.
  653. For more information, see http://simplefirmware.org
  654. config GENERATE_MP_TABLE
  655. bool "Generate an MP (Multi-Processor) table"
  656. default n
  657. help
  658. Generate an MP (Multi-Processor) table for this board. The MP table
  659. provides a way for the operating system to support for symmetric
  660. multiprocessing as well as symmetric I/O interrupt handling with
  661. the local APIC and I/O APIC.
  662. config GENERATE_ACPI_TABLE
  663. bool "Generate an ACPI (Advanced Configuration and Power Interface) table"
  664. default n
  665. select QFW if QEMU
  666. help
  667. The Advanced Configuration and Power Interface (ACPI) specification
  668. provides an open standard for device configuration and management
  669. by the operating system. It defines platform-independent interfaces
  670. for configuration and power management monitoring.
  671. config ACPI_GNVS_EXTERNAL
  672. bool
  673. help
  674. Put the GNVS (Global Non-Volatile Sleeping) table separate from the
  675. DSDT and add a pointer to the table from the DSDT. This allows
  676. U-Boot to better control the address of the GNVS.
  677. endmenu
  678. config HAVE_ACPI_RESUME
  679. bool "Enable ACPI S3 resume"
  680. select ENABLE_MRC_CACHE
  681. help
  682. Select this to enable ACPI S3 resume. S3 is an ACPI-defined sleeping
  683. state where all system context is lost except system memory. U-Boot
  684. is responsible for restoring the machine state as it was before sleep.
  685. It needs restore the memory controller, without overwriting memory
  686. which is not marked as reserved. For the peripherals which lose their
  687. registers, U-Boot needs to write the original value. When everything
  688. is done, U-Boot needs to find out the wakeup vector provided by OSes
  689. and jump there.
  690. config S3_VGA_ROM_RUN
  691. bool "Re-run VGA option ROMs on S3 resume"
  692. depends on HAVE_ACPI_RESUME
  693. help
  694. Execute VGA option ROMs in U-Boot when resuming from S3. Normally
  695. this is needed when graphics console is being used in the kernel.
  696. Turning it off can reduce some resume time, but be aware that your
  697. graphics console won't work without VGA options ROMs. Set it to N
  698. if your kernel is only on a serial console.
  699. config STACK_SIZE_RESUME
  700. hex
  701. depends on HAVE_ACPI_RESUME
  702. default 0x1000
  703. help
  704. Estimated U-Boot's runtime stack size that needs to be reserved
  705. during an ACPI S3 resume.
  706. config MAX_PIRQ_LINKS
  707. int
  708. default 8
  709. help
  710. This variable specifies the number of PIRQ interrupt links which are
  711. routable. On most older chipsets, this is 4, PIRQA through PIRQD.
  712. Some newer chipsets offer more than four links, commonly up to PIRQH.
  713. config IRQ_SLOT_COUNT
  714. int
  715. default 128
  716. help
  717. U-Boot can support up to 254 IRQ slot info in the PIRQ routing table
  718. which in turns forms a table of exact 4KiB. The default value 128
  719. should be enough for most boards. If this does not fit your board,
  720. change it according to your needs.
  721. config PCIE_ECAM_BASE
  722. hex
  723. default 0xe0000000
  724. help
  725. This is the memory-mapped address of PCI configuration space, which
  726. is only available through the Enhanced Configuration Access
  727. Mechanism (ECAM) with PCI Express. It can be set up almost
  728. anywhere. Before it is set up, it is possible to access PCI
  729. configuration space through I/O access, but memory access is more
  730. convenient. Using this, PCI can be scanned and configured. This
  731. should be set to a region that does not conflict with memory
  732. assigned to PCI devices - i.e. the memory and prefetch regions, as
  733. passed to pci_set_region().
  734. config PCIE_ECAM_SIZE
  735. hex
  736. default 0x10000000
  737. help
  738. This is the size of memory-mapped address of PCI configuration space,
  739. which is only available through the Enhanced Configuration Access
  740. Mechanism (ECAM) with PCI Express. Each bus consumes 1 MiB memory,
  741. so a default 0x10000000 size covers all of the 256 buses which is the
  742. maximum number of PCI buses as defined by the PCI specification.
  743. config I8259_PIC
  744. bool "Enable Intel 8259 compatible interrupt controller"
  745. default y
  746. help
  747. Intel 8259 ISA compatible chipset incorporates two 8259 (master and
  748. slave) interrupt controllers. Include this to have U-Boot set up
  749. the interrupt correctly.
  750. config APIC
  751. bool "Enable Intel Advanced Programmable Interrupt Controller"
  752. default y
  753. help
  754. The (A)dvanced (P)rogrammable (I)nterrupt (C)ontroller is responsible
  755. for catching interrupts and distributing them to one or more CPU
  756. cores. In most cases there are some LAPICs (local) for each core and
  757. one I/O APIC. This conjunction is found on most modern x86 systems.
  758. config PINCTRL_ICH6
  759. bool
  760. help
  761. Intel ICH6 compatible chipset pinctrl driver. It needs to work
  762. together with the ICH6 compatible gpio driver.
  763. config I8254_TIMER
  764. bool
  765. default y
  766. help
  767. Intel 8254 timer contains three counters which have fixed uses.
  768. Include this to have U-Boot set up the timer correctly.
  769. config SEABIOS
  770. bool "Support booting SeaBIOS"
  771. help
  772. SeaBIOS is an open source implementation of a 16-bit X86 BIOS.
  773. It can run in an emulator or natively on X86 hardware with the use
  774. of coreboot/U-Boot. By turning on this option, U-Boot prepares
  775. all the configuration tables that are necessary to boot SeaBIOS.
  776. Check http://www.seabios.org/SeaBIOS for details.
  777. config HIGH_TABLE_SIZE
  778. hex "Size of configuration tables which reside in high memory"
  779. default 0x10000
  780. depends on SEABIOS
  781. help
  782. SeaBIOS itself resides in E seg and F seg, where U-Boot puts all
  783. configuration tables like PIRQ/MP/ACPI. To avoid conflicts, U-Boot
  784. puts a copy of configuration tables in high memory region which
  785. is reserved on the stack before relocation. The region size is
  786. determined by this option.
  787. Increse it if the default size does not fit the board's needs.
  788. This is most likely due to a large ACPI DSDT table is used.
  789. config INTEL_CAR_CQOS
  790. bool "Support Intel Cache Quality of Service"
  791. help
  792. Cache Quality of Service allows more fine-grained control of cache
  793. usage. As result, it is possible to set up a portion of L2 cache for
  794. CAR and use the remainder for actual caching.
  795. #
  796. # Each bit in QOS mask controls this many bytes. This is calculated as:
  797. # (CACHE_WAYS / CACHE_BITS_PER_MASK) * CACHE_LINE_SIZE * CACHE_SETS
  798. #
  799. config CACHE_QOS_SIZE_PER_BIT
  800. hex
  801. depends on INTEL_CAR_CQOS
  802. default 0x20000 # 128 KB
  803. config X86_OFFSET_U_BOOT
  804. hex "Offset of U-Boot in ROM image"
  805. depends on HAVE_SYS_TEXT_BASE
  806. default SYS_TEXT_BASE
  807. config X86_OFFSET_SPL
  808. hex "Offset of SPL in ROM image"
  809. depends on SPL && X86
  810. default SPL_TEXT_BASE
  811. config ACPI_GPE
  812. bool "Support ACPI general-purpose events"
  813. help
  814. Enable a driver for ACPI GPEs to allow peripherals to send interrupts
  815. via ACPI to the OS. In U-Boot this is only used when U-Boot itself
  816. needs access to these interrupts. This can happen when it uses a
  817. peripheral that is set up to use GPEs and so cannot use the normal
  818. GPIO mechanism for polling an input.
  819. See https://queue.acm.org/blogposting.cfm?id=18977 for more info
  820. config SPL_ACPI_GPE
  821. bool "Support ACPI general-purpose events in SPL"
  822. help
  823. Enable a driver for ACPI GPEs to allow peripherals to send interrupts
  824. via ACPI to the OS. In U-Boot this is only used when U-Boot itself
  825. needs access to these interrupts. This can happen when it uses a
  826. peripheral that is set up to use GPEs and so cannot use the normal
  827. GPIO mechanism for polling an input.
  828. See https://queue.acm.org/blogposting.cfm?id=18977 for more info
  829. config TPL_ACPI_GPE
  830. bool "Support ACPI general-purpose events in TPL"
  831. help
  832. Enable a driver for ACPI GPEs to allow peripherals to send interrupts
  833. via ACPI to the OS. In U-Boot this is only used when U-Boot itself
  834. needs access to these interrupts. This can happen when it uses a
  835. peripheral that is set up to use GPEs and so cannot use the normal
  836. GPIO mechanism for polling an input.
  837. See https://queue.acm.org/blogposting.cfm?id=18977 for more info
  838. config SA_PCIEX_LENGTH
  839. hex
  840. default 0x10000000 if (PCIEX_LENGTH_256MB)
  841. default 0x8000000 if (PCIEX_LENGTH_128MB)
  842. default 0x4000000 if (PCIEX_LENGTH_64MB)
  843. default 0x10000000
  844. help
  845. This option allows you to select length of PCIEX region.
  846. config PCIEX_LENGTH_256MB
  847. bool
  848. config PCIEX_LENGTH_128MB
  849. bool
  850. config PCIEX_LENGTH_64MB
  851. bool
  852. config INTEL_SOC
  853. bool
  854. help
  855. This is enabled on Intel SoCs that can support various advanced
  856. features such as power management (requiring asm/arch/pm.h), system
  857. agent (asm/arch/systemagent.h) and an I/O map for ACPI
  858. (asm/arch/iomap.h).
  859. This cannot be selected in a defconfig file. It must be enabled by a
  860. 'select' in the SoC's Kconfig.
  861. if INTEL_SOC
  862. config INTEL_ACPIGEN
  863. bool "Support ACPI table generation for Intel SoCs"
  864. depends on ACPIGEN
  865. help
  866. This option adds some functions used for programmatic generation of
  867. ACPI tables on Intel SoCs. This provides features for writing CPU
  868. information such as P states and T stages. Also included is a way
  869. to create a GNVS table and set it up.
  870. config INTEL_GMA_ACPI
  871. bool "Generate ACPI table for Intel GMA graphics"
  872. help
  873. The Intel GMA graphics driver in Linux expects an ACPI table
  874. which describes the layout of the registers and the display
  875. connected to the device. Enable this option to create this
  876. table so that graphics works correctly.
  877. config INTEL_GENERIC_WIFI
  878. bool "Enable generation of ACPI tables for Intel WiFi"
  879. help
  880. Select this option to provide code to a build generic WiFi ACPI table
  881. for Intel WiFi devices. This is not a WiFi driver and offers no
  882. network functionality. It is only here to generate the ACPI tables
  883. required by Linux.
  884. config INTEL_GMA_SWSMISCI
  885. bool
  886. help
  887. Select this option for Atom-based platforms which use the SWSMISCI
  888. register (0xe0) rather than the SWSCI register (0xe8).
  889. endif # INTEL_SOC
  890. endmenu