Kconfig 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771
  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 SUPPORT_SPL
  30. select SPL
  31. select SPL_SEPARATE_BSS
  32. help
  33. Build U-Boot as a 64-bit binary with a 32-bit SPL. This is
  34. experimental and many features are missing. U-Boot SPL starts up,
  35. runs through the 16-bit and 32-bit init, then switches to 64-bit
  36. mode and jumps to U-Boot proper.
  37. endchoice
  38. config X86_64
  39. bool
  40. config SPL_X86_64
  41. bool
  42. depends on SPL
  43. choice
  44. prompt "Mainboard vendor"
  45. default VENDOR_EMULATION
  46. config VENDOR_ADVANTECH
  47. bool "advantech"
  48. config VENDOR_CONGATEC
  49. bool "congatec"
  50. config VENDOR_COREBOOT
  51. bool "coreboot"
  52. config VENDOR_DFI
  53. bool "dfi"
  54. config VENDOR_EFI
  55. bool "efi"
  56. config VENDOR_EMULATION
  57. bool "emulation"
  58. config VENDOR_GOOGLE
  59. bool "Google"
  60. config VENDOR_INTEL
  61. bool "Intel"
  62. endchoice
  63. # subarchitectures-specific options below
  64. config INTEL_MID
  65. bool "Intel MID platform support"
  66. select REGMAP
  67. select SYSCON
  68. help
  69. Select to build a U-Boot capable of supporting Intel MID
  70. (Mobile Internet Device) platform systems which do not have
  71. the PCI legacy interfaces.
  72. If you are building for a PC class system say N here.
  73. Intel MID platforms are based on an Intel processor and
  74. chipset which consume less power than most of the x86
  75. derivatives.
  76. # board-specific options below
  77. source "board/advantech/Kconfig"
  78. source "board/congatec/Kconfig"
  79. source "board/coreboot/Kconfig"
  80. source "board/dfi/Kconfig"
  81. source "board/efi/Kconfig"
  82. source "board/emulation/Kconfig"
  83. source "board/google/Kconfig"
  84. source "board/intel/Kconfig"
  85. # platform-specific options below
  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/qemu/Kconfig"
  92. source "arch/x86/cpu/quark/Kconfig"
  93. source "arch/x86/cpu/queensbay/Kconfig"
  94. source "arch/x86/cpu/tangier/Kconfig"
  95. # architecture-specific options below
  96. config AHCI
  97. default y
  98. config SYS_MALLOC_F_LEN
  99. default 0x800
  100. config RAMBASE
  101. hex
  102. default 0x100000
  103. config XIP_ROM_SIZE
  104. hex
  105. depends on X86_RESET_VECTOR
  106. default ROM_SIZE
  107. config CPU_ADDR_BITS
  108. int
  109. default 36
  110. config HPET_ADDRESS
  111. hex
  112. default 0xfed00000 if !HPET_ADDRESS_OVERRIDE
  113. config SMM_TSEG
  114. bool
  115. default n
  116. config SMM_TSEG_SIZE
  117. hex
  118. config X86_RESET_VECTOR
  119. bool
  120. default n
  121. select BINMAN
  122. # The following options control where the 16-bit and 32-bit init lies
  123. # If SPL is enabled then it normally holds this init code, and U-Boot proper
  124. # is normally a 64-bit build.
  125. #
  126. # The 16-bit init refers to the reset vector and the small amount of code to
  127. # get the processor into 32-bit mode. It may be in SPL or in U-Boot proper,
  128. # or missing altogether if U-Boot is started from EFI or coreboot.
  129. #
  130. # The 32-bit init refers to processor init, running binary blobs including
  131. # FSP, setting up interrupts and anything else that needs to be done in
  132. # 32-bit code. It is normally in the same place as 16-bit init if that is
  133. # enabled (i.e. they are both in SPL, or both in U-Boot proper).
  134. config X86_16BIT_INIT
  135. bool
  136. depends on X86_RESET_VECTOR
  137. default y if X86_RESET_VECTOR && !SPL
  138. help
  139. This is enabled when 16-bit init is in U-Boot proper
  140. config SPL_X86_16BIT_INIT
  141. bool
  142. depends on X86_RESET_VECTOR
  143. default y if X86_RESET_VECTOR && SPL
  144. help
  145. This is enabled when 16-bit init is in SPL
  146. config X86_32BIT_INIT
  147. bool
  148. depends on X86_RESET_VECTOR
  149. default y if X86_RESET_VECTOR && !SPL
  150. help
  151. This is enabled when 32-bit init is in U-Boot proper
  152. config SPL_X86_32BIT_INIT
  153. bool
  154. depends on X86_RESET_VECTOR
  155. default y if X86_RESET_VECTOR && SPL
  156. help
  157. This is enabled when 32-bit init is in SPL
  158. config RESET_SEG_START
  159. hex
  160. depends on X86_RESET_VECTOR
  161. default 0xffff0000
  162. config RESET_SEG_SIZE
  163. hex
  164. depends on X86_RESET_VECTOR
  165. default 0x10000
  166. config RESET_VEC_LOC
  167. hex
  168. depends on X86_RESET_VECTOR
  169. default 0xfffffff0
  170. config SYS_X86_START16
  171. hex
  172. depends on X86_RESET_VECTOR
  173. default 0xfffff800
  174. config X86_LOAD_FROM_32_BIT
  175. bool "Boot from a 32-bit program"
  176. help
  177. Define this to boot U-Boot from a 32-bit program which sets
  178. the GDT differently. This can be used to boot directly from
  179. any stage of coreboot, for example, bypassing the normal
  180. payload-loading feature.
  181. config BOARD_ROMSIZE_KB_512
  182. bool
  183. config BOARD_ROMSIZE_KB_1024
  184. bool
  185. config BOARD_ROMSIZE_KB_2048
  186. bool
  187. config BOARD_ROMSIZE_KB_4096
  188. bool
  189. config BOARD_ROMSIZE_KB_8192
  190. bool
  191. config BOARD_ROMSIZE_KB_16384
  192. bool
  193. choice
  194. prompt "ROM chip size"
  195. depends on X86_RESET_VECTOR
  196. default UBOOT_ROMSIZE_KB_512 if BOARD_ROMSIZE_KB_512
  197. default UBOOT_ROMSIZE_KB_1024 if BOARD_ROMSIZE_KB_1024
  198. default UBOOT_ROMSIZE_KB_2048 if BOARD_ROMSIZE_KB_2048
  199. default UBOOT_ROMSIZE_KB_4096 if BOARD_ROMSIZE_KB_4096
  200. default UBOOT_ROMSIZE_KB_8192 if BOARD_ROMSIZE_KB_8192
  201. default UBOOT_ROMSIZE_KB_16384 if BOARD_ROMSIZE_KB_16384
  202. help
  203. Select the size of the ROM chip you intend to flash U-Boot on.
  204. The build system will take care of creating a u-boot.rom file
  205. of the matching size.
  206. config UBOOT_ROMSIZE_KB_512
  207. bool "512 KB"
  208. help
  209. Choose this option if you have a 512 KB ROM chip.
  210. config UBOOT_ROMSIZE_KB_1024
  211. bool "1024 KB (1 MB)"
  212. help
  213. Choose this option if you have a 1024 KB (1 MB) ROM chip.
  214. config UBOOT_ROMSIZE_KB_2048
  215. bool "2048 KB (2 MB)"
  216. help
  217. Choose this option if you have a 2048 KB (2 MB) ROM chip.
  218. config UBOOT_ROMSIZE_KB_4096
  219. bool "4096 KB (4 MB)"
  220. help
  221. Choose this option if you have a 4096 KB (4 MB) ROM chip.
  222. config UBOOT_ROMSIZE_KB_8192
  223. bool "8192 KB (8 MB)"
  224. help
  225. Choose this option if you have a 8192 KB (8 MB) ROM chip.
  226. config UBOOT_ROMSIZE_KB_16384
  227. bool "16384 KB (16 MB)"
  228. help
  229. Choose this option if you have a 16384 KB (16 MB) ROM chip.
  230. endchoice
  231. # Map the config names to an integer (KB).
  232. config UBOOT_ROMSIZE_KB
  233. int
  234. default 512 if UBOOT_ROMSIZE_KB_512
  235. default 1024 if UBOOT_ROMSIZE_KB_1024
  236. default 2048 if UBOOT_ROMSIZE_KB_2048
  237. default 4096 if UBOOT_ROMSIZE_KB_4096
  238. default 8192 if UBOOT_ROMSIZE_KB_8192
  239. default 16384 if UBOOT_ROMSIZE_KB_16384
  240. # Map the config names to a hex value (bytes).
  241. config ROM_SIZE
  242. hex
  243. default 0x80000 if UBOOT_ROMSIZE_KB_512
  244. default 0x100000 if UBOOT_ROMSIZE_KB_1024
  245. default 0x200000 if UBOOT_ROMSIZE_KB_2048
  246. default 0x400000 if UBOOT_ROMSIZE_KB_4096
  247. default 0x800000 if UBOOT_ROMSIZE_KB_8192
  248. default 0xc00000 if UBOOT_ROMSIZE_KB_12288
  249. default 0x1000000 if UBOOT_ROMSIZE_KB_16384
  250. config HAVE_INTEL_ME
  251. bool "Platform requires Intel Management Engine"
  252. help
  253. Newer higher-end devices have an Intel Management Engine (ME)
  254. which is a very large binary blob (typically 1.5MB) which is
  255. required for the platform to work. This enforces a particular
  256. SPI flash format. You will need to supply the me.bin file in
  257. your board directory.
  258. config X86_RAMTEST
  259. bool "Perform a simple RAM test after SDRAM initialisation"
  260. help
  261. If there is something wrong with SDRAM then the platform will
  262. often crash within U-Boot or the kernel. This option enables a
  263. very simple RAM test that quickly checks whether the SDRAM seems
  264. to work correctly. It is not exhaustive but can save time by
  265. detecting obvious failures.
  266. config FLASH_DESCRIPTOR_FILE
  267. string "Flash descriptor binary filename"
  268. depends on HAVE_INTEL_ME
  269. default "descriptor.bin"
  270. help
  271. The filename of the file to use as flash descriptor in the
  272. board directory.
  273. config INTEL_ME_FILE
  274. string "Intel Management Engine binary filename"
  275. depends on HAVE_INTEL_ME
  276. default "me.bin"
  277. help
  278. The filename of the file to use as Intel Management Engine in the
  279. board directory.
  280. config HAVE_FSP
  281. bool "Add an Firmware Support Package binary"
  282. depends on !EFI
  283. help
  284. Select this option to add an Firmware Support Package binary to
  285. the resulting U-Boot image. It is a binary blob which U-Boot uses
  286. to set up SDRAM and other chipset specific initialization.
  287. Note: Without this binary U-Boot will not be able to set up its
  288. SDRAM so will not boot.
  289. config FSP_FILE
  290. string "Firmware Support Package binary filename"
  291. depends on HAVE_FSP
  292. default "fsp.bin"
  293. help
  294. The filename of the file to use as Firmware Support Package binary
  295. in the board directory.
  296. config FSP_ADDR
  297. hex "Firmware Support Package binary location"
  298. depends on HAVE_FSP
  299. default 0xfffc0000
  300. help
  301. FSP is not Position Independent Code (PIC) and the whole FSP has to
  302. be rebased if it is placed at a location which is different from the
  303. perferred base address specified during the FSP build. Use Intel's
  304. Binary Configuration Tool (BCT) to do the rebase.
  305. The default base address of 0xfffc0000 indicates that the binary must
  306. be located at offset 0xc0000 from the beginning of a 1MB flash device.
  307. config FSP_TEMP_RAM_ADDR
  308. hex
  309. depends on HAVE_FSP
  310. default 0x2000000
  311. help
  312. Stack top address which is used in fsp_init() after DRAM is ready and
  313. CAR is disabled.
  314. config FSP_SYS_MALLOC_F_LEN
  315. hex
  316. depends on HAVE_FSP
  317. default 0x100000
  318. help
  319. Additional size of malloc() pool before relocation.
  320. config FSP_USE_UPD
  321. bool
  322. depends on HAVE_FSP
  323. default y
  324. help
  325. Most FSPs use UPD data region for some FSP customization. But there
  326. are still some FSPs that might not even have UPD. For such FSPs,
  327. override this to n in their platform Kconfig files.
  328. config FSP_BROKEN_HOB
  329. bool
  330. depends on HAVE_FSP
  331. help
  332. Indicate some buggy FSPs that does not report memory used by FSP
  333. itself as reserved in the resource descriptor HOB. Select this to
  334. tell U-Boot to do some additional work to ensure U-Boot relocation
  335. do not overwrite the important boot service data which is used by
  336. FSP, otherwise the subsequent call to fsp_notify() will fail.
  337. config ENABLE_MRC_CACHE
  338. bool "Enable MRC cache"
  339. depends on !EFI && !SYS_COREBOOT
  340. help
  341. Enable this feature to cause MRC data to be cached in NV storage
  342. to be used for speeding up boot time on future reboots and/or
  343. power cycles.
  344. For platforms that use Intel FSP for the memory initialization,
  345. please check FSP output HOB via U-Boot command 'fsp hob' to see
  346. if there is FSP_NON_VOLATILE_STORAGE_HOB_GUID (asm/fsp/fsp_hob.h).
  347. If such GUID does not exist, MRC cache is not avaiable on such
  348. platform (eg: Intel Queensbay), which means selecting this option
  349. here does not make any difference.
  350. config HAVE_MRC
  351. bool "Add a System Agent binary"
  352. depends on !HAVE_FSP
  353. help
  354. Select this option to add a System Agent binary to
  355. the resulting U-Boot image. MRC stands for Memory Reference Code.
  356. It is a binary blob which U-Boot uses to set up SDRAM.
  357. Note: Without this binary U-Boot will not be able to set up its
  358. SDRAM so will not boot.
  359. config CACHE_MRC_BIN
  360. bool
  361. depends on HAVE_MRC
  362. default n
  363. help
  364. Enable caching for the memory reference code binary. This uses an
  365. MTRR (memory type range register) to turn on caching for the section
  366. of SPI flash that contains the memory reference code. This makes
  367. SDRAM init run faster.
  368. config CACHE_MRC_SIZE_KB
  369. int
  370. depends on HAVE_MRC
  371. default 512
  372. help
  373. Sets the size of the cached area for the memory reference code.
  374. This ends at the end of SPI flash (address 0xffffffff) and is
  375. measured in KB. Typically this is set to 512, providing for 0.5MB
  376. of cached space.
  377. config DCACHE_RAM_BASE
  378. hex
  379. depends on HAVE_MRC
  380. help
  381. Sets the base of the data cache area in memory space. This is the
  382. start address of the cache-as-RAM (CAR) area and the address varies
  383. depending on the CPU. Once CAR is set up, read/write memory becomes
  384. available at this address and can be used temporarily until SDRAM
  385. is working.
  386. config DCACHE_RAM_SIZE
  387. hex
  388. depends on HAVE_MRC
  389. default 0x40000
  390. help
  391. Sets the total size of the data cache area in memory space. This
  392. sets the size of the cache-as-RAM (CAR) area. Note that much of the
  393. CAR space is required by the MRC. The CAR space available to U-Boot
  394. is normally at the start and typically extends to 1/4 or 1/2 of the
  395. available size.
  396. config DCACHE_RAM_MRC_VAR_SIZE
  397. hex
  398. depends on HAVE_MRC
  399. help
  400. This is the amount of CAR (Cache as RAM) reserved for use by the
  401. memory reference code. This depends on the implementation of the
  402. memory reference code and must be set correctly or the board will
  403. not boot.
  404. config HAVE_REFCODE
  405. bool "Add a Reference Code binary"
  406. help
  407. Select this option to add a Reference Code binary to the resulting
  408. U-Boot image. This is an Intel binary blob that handles system
  409. initialisation, in this case the PCH and System Agent.
  410. Note: Without this binary (on platforms that need it such as
  411. broadwell) U-Boot will be missing some critical setup steps.
  412. Various peripherals may fail to work.
  413. config SMP
  414. bool "Enable Symmetric Multiprocessing"
  415. default n
  416. help
  417. Enable use of more than one CPU in U-Boot and the Operating System
  418. when loaded. Each CPU will be started up and information can be
  419. obtained using the 'cpu' command. If this option is disabled, then
  420. only one CPU will be enabled regardless of the number of CPUs
  421. available.
  422. config MAX_CPUS
  423. int "Maximum number of CPUs permitted"
  424. depends on SMP
  425. default 4
  426. help
  427. When using multi-CPU chips it is possible for U-Boot to start up
  428. more than one CPU. The stack memory used by all of these CPUs is
  429. pre-allocated so at present U-Boot wants to know the maximum
  430. number of CPUs that may be present. Set this to at least as high
  431. as the number of CPUs in your system (it uses about 4KB of RAM for
  432. each CPU).
  433. config AP_STACK_SIZE
  434. hex
  435. depends on SMP
  436. default 0x1000
  437. help
  438. Each additional CPU started by U-Boot requires its own stack. This
  439. option sets the stack size used by each CPU and directly affects
  440. the memory used by this initialisation process. Typically 4KB is
  441. enough space.
  442. config CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED
  443. bool
  444. help
  445. This option indicates that the turbo mode setting is not package
  446. scoped. i.e. turbo_enable() needs to be called on not just the
  447. bootstrap processor (BSP).
  448. config HAVE_VGA_BIOS
  449. bool "Add a VGA BIOS image"
  450. help
  451. Select this option if you have a VGA BIOS image that you would
  452. like to add to your ROM.
  453. config VGA_BIOS_FILE
  454. string "VGA BIOS image filename"
  455. depends on HAVE_VGA_BIOS
  456. default "vga.bin"
  457. help
  458. The filename of the VGA BIOS image in the board directory.
  459. config VGA_BIOS_ADDR
  460. hex "VGA BIOS image location"
  461. depends on HAVE_VGA_BIOS
  462. default 0xfff90000
  463. help
  464. The location of VGA BIOS image in the SPI flash. For example, base
  465. address of 0xfff90000 indicates that the image will be put at offset
  466. 0x90000 from the beginning of a 1MB flash device.
  467. config HAVE_VBT
  468. bool "Add a Video BIOS Table (VBT) image"
  469. depends on HAVE_FSP
  470. help
  471. Select this option if you have a Video BIOS Table (VBT) image that
  472. you would like to add to your ROM. This is normally required if you
  473. are using an Intel FSP firmware that is complaint with spec 1.1 or
  474. later to initialize the integrated graphics device (IGD).
  475. Video BIOS Table, or VBT, provides platform and board specific
  476. configuration information to the driver that is not discoverable
  477. or available through other means. By other means the most used
  478. method here is to read EDID table from the attached monitor, over
  479. Display Data Channel (DDC) using two pin I2C serial interface. VBT
  480. configuration is related to display hardware and is available via
  481. the ACPI OpRegion or, on older systems, in the PCI ROM (Option ROM).
  482. config VBT_FILE
  483. string "Video BIOS Table (VBT) image filename"
  484. depends on HAVE_VBT
  485. default "vbt.bin"
  486. help
  487. The filename of the file to use as Video BIOS Table (VBT) image
  488. in the board directory.
  489. config VBT_ADDR
  490. hex "Video BIOS Table (VBT) image location"
  491. depends on HAVE_VBT
  492. default 0xfff90000
  493. help
  494. The location of Video BIOS Table (VBT) image in the SPI flash. For
  495. example, base address of 0xfff90000 indicates that the image will
  496. be put at offset 0x90000 from the beginning of a 1MB flash device.
  497. config VIDEO_FSP
  498. bool "Enable FSP framebuffer driver support"
  499. depends on HAVE_VBT && DM_VIDEO
  500. help
  501. Turn on this option to enable a framebuffer driver when U-Boot is
  502. using Video BIOS Table (VBT) image for FSP firmware to initialize
  503. the integrated graphics device.
  504. config ROM_TABLE_ADDR
  505. hex
  506. default 0xf0000
  507. help
  508. All x86 tables happen to like the address range from 0x0f0000
  509. to 0x100000. We use 0xf0000 as the starting address to store
  510. those tables, including PIRQ routing table, Multi-Processor
  511. table and ACPI table.
  512. config ROM_TABLE_SIZE
  513. hex
  514. default 0x10000
  515. menu "System tables"
  516. depends on !EFI && !SYS_COREBOOT
  517. config GENERATE_PIRQ_TABLE
  518. bool "Generate a PIRQ table"
  519. default n
  520. help
  521. Generate a PIRQ routing table for this board. The PIRQ routing table
  522. is generated by U-Boot in the system memory from 0xf0000 to 0xfffff
  523. at every 16-byte boundary with a PCI IRQ routing signature ("$PIR").
  524. It specifies the interrupt router information as well how all the PCI
  525. devices' interrupt pins are wired to PIRQs.
  526. config GENERATE_SFI_TABLE
  527. bool "Generate a SFI (Simple Firmware Interface) table"
  528. help
  529. The Simple Firmware Interface (SFI) provides a lightweight method
  530. for platform firmware to pass information to the operating system
  531. via static tables in memory. Kernel SFI support is required to
  532. boot on SFI-only platforms. If you have ACPI tables then these are
  533. used instead.
  534. U-Boot writes this table in write_sfi_table() just before booting
  535. the OS.
  536. For more information, see http://simplefirmware.org
  537. config GENERATE_MP_TABLE
  538. bool "Generate an MP (Multi-Processor) table"
  539. default n
  540. help
  541. Generate an MP (Multi-Processor) table for this board. The MP table
  542. provides a way for the operating system to support for symmetric
  543. multiprocessing as well as symmetric I/O interrupt handling with
  544. the local APIC and I/O APIC.
  545. config GENERATE_ACPI_TABLE
  546. bool "Generate an ACPI (Advanced Configuration and Power Interface) table"
  547. default n
  548. select QFW if QEMU
  549. help
  550. The Advanced Configuration and Power Interface (ACPI) specification
  551. provides an open standard for device configuration and management
  552. by the operating system. It defines platform-independent interfaces
  553. for configuration and power management monitoring.
  554. endmenu
  555. config HAVE_ACPI_RESUME
  556. bool "Enable ACPI S3 resume"
  557. select ENABLE_MRC_CACHE
  558. help
  559. Select this to enable ACPI S3 resume. S3 is an ACPI-defined sleeping
  560. state where all system context is lost except system memory. U-Boot
  561. is responsible for restoring the machine state as it was before sleep.
  562. It needs restore the memory controller, without overwriting memory
  563. which is not marked as reserved. For the peripherals which lose their
  564. registers, U-Boot needs to write the original value. When everything
  565. is done, U-Boot needs to find out the wakeup vector provided by OSes
  566. and jump there.
  567. config S3_VGA_ROM_RUN
  568. bool "Re-run VGA option ROMs on S3 resume"
  569. depends on HAVE_ACPI_RESUME
  570. help
  571. Execute VGA option ROMs in U-Boot when resuming from S3. Normally
  572. this is needed when graphics console is being used in the kernel.
  573. Turning it off can reduce some resume time, but be aware that your
  574. graphics console won't work without VGA options ROMs. Set it to N
  575. if your kernel is only on a serial console.
  576. config STACK_SIZE
  577. hex
  578. depends on HAVE_ACPI_RESUME
  579. default 0x1000
  580. help
  581. Estimated U-Boot's runtime stack size that needs to be reserved
  582. during an ACPI S3 resume.
  583. config MAX_PIRQ_LINKS
  584. int
  585. default 8
  586. help
  587. This variable specifies the number of PIRQ interrupt links which are
  588. routable. On most older chipsets, this is 4, PIRQA through PIRQD.
  589. Some newer chipsets offer more than four links, commonly up to PIRQH.
  590. config IRQ_SLOT_COUNT
  591. int
  592. default 128
  593. help
  594. U-Boot can support up to 254 IRQ slot info in the PIRQ routing table
  595. which in turns forms a table of exact 4KiB. The default value 128
  596. should be enough for most boards. If this does not fit your board,
  597. change it according to your needs.
  598. config PCIE_ECAM_BASE
  599. hex
  600. default 0xe0000000
  601. help
  602. This is the memory-mapped address of PCI configuration space, which
  603. is only available through the Enhanced Configuration Access
  604. Mechanism (ECAM) with PCI Express. It can be set up almost
  605. anywhere. Before it is set up, it is possible to access PCI
  606. configuration space through I/O access, but memory access is more
  607. convenient. Using this, PCI can be scanned and configured. This
  608. should be set to a region that does not conflict with memory
  609. assigned to PCI devices - i.e. the memory and prefetch regions, as
  610. passed to pci_set_region().
  611. config PCIE_ECAM_SIZE
  612. hex
  613. default 0x10000000
  614. help
  615. This is the size of memory-mapped address of PCI configuration space,
  616. which is only available through the Enhanced Configuration Access
  617. Mechanism (ECAM) with PCI Express. Each bus consumes 1 MiB memory,
  618. so a default 0x10000000 size covers all of the 256 buses which is the
  619. maximum number of PCI buses as defined by the PCI specification.
  620. config I8259_PIC
  621. bool
  622. default y
  623. help
  624. Intel 8259 ISA compatible chipset incorporates two 8259 (master and
  625. slave) interrupt controllers. Include this to have U-Boot set up
  626. the interrupt correctly.
  627. config I8254_TIMER
  628. bool
  629. default y
  630. help
  631. Intel 8254 timer contains three counters which have fixed uses.
  632. Include this to have U-Boot set up the timer correctly.
  633. config SEABIOS
  634. bool "Support booting SeaBIOS"
  635. help
  636. SeaBIOS is an open source implementation of a 16-bit X86 BIOS.
  637. It can run in an emulator or natively on X86 hardware with the use
  638. of coreboot/U-Boot. By turning on this option, U-Boot prepares
  639. all the configuration tables that are necessary to boot SeaBIOS.
  640. Check http://www.seabios.org/SeaBIOS for details.
  641. config HIGH_TABLE_SIZE
  642. hex "Size of configuration tables which reside in high memory"
  643. default 0x10000
  644. depends on SEABIOS
  645. help
  646. SeaBIOS itself resides in E seg and F seg, where U-Boot puts all
  647. configuration tables like PIRQ/MP/ACPI. To avoid conflicts, U-Boot
  648. puts a copy of configuration tables in high memory region which
  649. is reserved on the stack before relocation. The region size is
  650. determined by this option.
  651. Increse it if the default size does not fit the board's needs.
  652. This is most likely due to a large ACPI DSDT table is used.
  653. source "arch/x86/lib/efi/Kconfig"
  654. endmenu