xref: /openbmc/u-boot/arch/x86/Kconfig (revision f7d35bc148de7ebca7f51a07fc9a45715f8e6d29)
1dd84058dSMasahiro Yamadamenu "x86 architecture"
2dd84058dSMasahiro Yamada	depends on X86
3dd84058dSMasahiro Yamada
4dd84058dSMasahiro Yamadaconfig SYS_ARCH
5dd84058dSMasahiro Yamada	default "x86"
6dd84058dSMasahiro Yamada
7dd84058dSMasahiro Yamadachoice
865c4ac0aSBin Meng	prompt "Mainboard vendor"
999a309f3SBin Meng	default VENDOR_EMULATION
10dd84058dSMasahiro Yamada
1165c4ac0aSBin Mengconfig VENDOR_COREBOOT
1265c4ac0aSBin Meng	bool "coreboot"
138ef07571SSimon Glass
143dcdd17bSBen Stoltzconfig VENDOR_EFI
153dcdd17bSBen Stoltz	bool "efi"
163dcdd17bSBen Stoltz
17a65b25d1SBin Mengconfig VENDOR_EMULATION
18a65b25d1SBin Meng	bool "emulation"
19a65b25d1SBin Meng
2065c4ac0aSBin Mengconfig VENDOR_GOOGLE
2165c4ac0aSBin Meng	bool "Google"
22dd84058dSMasahiro Yamada
2365c4ac0aSBin Mengconfig VENDOR_INTEL
2465c4ac0aSBin Meng	bool "Intel"
25ef46bea0SBin Meng
26dd84058dSMasahiro Yamadaendchoice
27dd84058dSMasahiro Yamada
2865c4ac0aSBin Meng# board-specific options below
2965c4ac0aSBin Mengsource "board/coreboot/Kconfig"
303e9aa320SBen Stoltzsource "board/efi/Kconfig"
31a65b25d1SBin Mengsource "board/emulation/Kconfig"
3265c4ac0aSBin Mengsource "board/google/Kconfig"
3365c4ac0aSBin Mengsource "board/intel/Kconfig"
3465c4ac0aSBin Meng
35029194a3SBin Meng# platform-specific options below
36029194a3SBin Mengsource "arch/x86/cpu/baytrail/Kconfig"
37029194a3SBin Mengsource "arch/x86/cpu/coreboot/Kconfig"
38029194a3SBin Mengsource "arch/x86/cpu/ivybridge/Kconfig"
39a65b25d1SBin Mengsource "arch/x86/cpu/qemu/Kconfig"
40029194a3SBin Mengsource "arch/x86/cpu/quark/Kconfig"
41029194a3SBin Mengsource "arch/x86/cpu/queensbay/Kconfig"
42029194a3SBin Meng
43029194a3SBin Meng# architecture-specific options below
44029194a3SBin Meng
45b724bd7dSSimon Glassconfig SYS_MALLOC_F_LEN
46b724bd7dSSimon Glass	default 0x800
47b724bd7dSSimon Glass
4870a09c6cSSimon Glassconfig RAMBASE
4970a09c6cSSimon Glass	hex
5070a09c6cSSimon Glass	default 0x100000
5170a09c6cSSimon Glass
5270a09c6cSSimon Glassconfig XIP_ROM_SIZE
5370a09c6cSSimon Glass	hex
547698d36aSBin Meng	depends on X86_RESET_VECTOR
55bbd43d65SSimon Glass	default ROM_SIZE
5670a09c6cSSimon Glass
5770a09c6cSSimon Glassconfig CPU_ADDR_BITS
5870a09c6cSSimon Glass	int
5970a09c6cSSimon Glass	default 36
6070a09c6cSSimon Glass
6165dd74a6SSimon Glassconfig HPET_ADDRESS
6265dd74a6SSimon Glass	hex
6365dd74a6SSimon Glass	default 0xfed00000 if !HPET_ADDRESS_OVERRIDE
6465dd74a6SSimon Glass
6565dd74a6SSimon Glassconfig SMM_TSEG
6665dd74a6SSimon Glass	bool
6765dd74a6SSimon Glass	default n
6865dd74a6SSimon Glass
6965dd74a6SSimon Glassconfig SMM_TSEG_SIZE
7065dd74a6SSimon Glass	hex
7165dd74a6SSimon Glass
728cb20cccSBin Mengconfig X86_RESET_VECTOR
738cb20cccSBin Meng	bool
748cb20cccSBin Meng	default n
758cb20cccSBin Meng
76343fb990SBin Mengconfig RESET_SEG_START
77343fb990SBin Meng	hex
78343fb990SBin Meng	depends on X86_RESET_VECTOR
79343fb990SBin Meng	default 0xffff0000
80343fb990SBin Meng
81343fb990SBin Mengconfig RESET_SEG_SIZE
82343fb990SBin Meng	hex
83343fb990SBin Meng	depends on X86_RESET_VECTOR
84343fb990SBin Meng	default 0x10000
85343fb990SBin Meng
86343fb990SBin Mengconfig RESET_VEC_LOC
87343fb990SBin Meng	hex
88343fb990SBin Meng	depends on X86_RESET_VECTOR
89343fb990SBin Meng	default 0xfffffff0
90343fb990SBin Meng
918cb20cccSBin Mengconfig SYS_X86_START16
928cb20cccSBin Meng	hex
938cb20cccSBin Meng	depends on X86_RESET_VECTOR
948cb20cccSBin Meng	default 0xfffff800
958cb20cccSBin Meng
9664542f46SBin Mengconfig BOARD_ROMSIZE_KB_512
9764542f46SBin Meng	bool
9864542f46SBin Mengconfig BOARD_ROMSIZE_KB_1024
9964542f46SBin Meng	bool
10064542f46SBin Mengconfig BOARD_ROMSIZE_KB_2048
10164542f46SBin Meng	bool
10264542f46SBin Mengconfig BOARD_ROMSIZE_KB_4096
10364542f46SBin Meng	bool
10464542f46SBin Mengconfig BOARD_ROMSIZE_KB_8192
10564542f46SBin Meng	bool
10664542f46SBin Mengconfig BOARD_ROMSIZE_KB_16384
10764542f46SBin Meng	bool
10864542f46SBin Meng
10964542f46SBin Mengchoice
11064542f46SBin Meng	prompt "ROM chip size"
1117698d36aSBin Meng	depends on X86_RESET_VECTOR
11264542f46SBin Meng	default UBOOT_ROMSIZE_KB_512 if BOARD_ROMSIZE_KB_512
11364542f46SBin Meng	default UBOOT_ROMSIZE_KB_1024 if BOARD_ROMSIZE_KB_1024
11464542f46SBin Meng	default UBOOT_ROMSIZE_KB_2048 if BOARD_ROMSIZE_KB_2048
11564542f46SBin Meng	default UBOOT_ROMSIZE_KB_4096 if BOARD_ROMSIZE_KB_4096
11664542f46SBin Meng	default UBOOT_ROMSIZE_KB_8192 if BOARD_ROMSIZE_KB_8192
11764542f46SBin Meng	default UBOOT_ROMSIZE_KB_16384 if BOARD_ROMSIZE_KB_16384
11864542f46SBin Meng	help
11964542f46SBin Meng	  Select the size of the ROM chip you intend to flash U-Boot on.
12064542f46SBin Meng
12164542f46SBin Meng	  The build system will take care of creating a u-boot.rom file
12264542f46SBin Meng	  of the matching size.
12364542f46SBin Meng
12464542f46SBin Mengconfig UBOOT_ROMSIZE_KB_512
12564542f46SBin Meng	bool "512 KB"
12664542f46SBin Meng	help
12764542f46SBin Meng	  Choose this option if you have a 512 KB ROM chip.
12864542f46SBin Meng
12964542f46SBin Mengconfig UBOOT_ROMSIZE_KB_1024
13064542f46SBin Meng	bool "1024 KB (1 MB)"
13164542f46SBin Meng	help
13264542f46SBin Meng	  Choose this option if you have a 1024 KB (1 MB) ROM chip.
13364542f46SBin Meng
13464542f46SBin Mengconfig UBOOT_ROMSIZE_KB_2048
13564542f46SBin Meng	bool "2048 KB (2 MB)"
13664542f46SBin Meng	help
13764542f46SBin Meng	  Choose this option if you have a 2048 KB (2 MB) ROM chip.
13864542f46SBin Meng
13964542f46SBin Mengconfig UBOOT_ROMSIZE_KB_4096
14064542f46SBin Meng	bool "4096 KB (4 MB)"
14164542f46SBin Meng	help
14264542f46SBin Meng	  Choose this option if you have a 4096 KB (4 MB) ROM chip.
14364542f46SBin Meng
14464542f46SBin Mengconfig UBOOT_ROMSIZE_KB_8192
14564542f46SBin Meng	bool "8192 KB (8 MB)"
14664542f46SBin Meng	help
14764542f46SBin Meng	  Choose this option if you have a 8192 KB (8 MB) ROM chip.
14864542f46SBin Meng
14964542f46SBin Mengconfig UBOOT_ROMSIZE_KB_16384
15064542f46SBin Meng	bool "16384 KB (16 MB)"
15164542f46SBin Meng	help
15264542f46SBin Meng	  Choose this option if you have a 16384 KB (16 MB) ROM chip.
15364542f46SBin Meng
15464542f46SBin Mengendchoice
15564542f46SBin Meng
15664542f46SBin Meng# Map the config names to an integer (KB).
15764542f46SBin Mengconfig UBOOT_ROMSIZE_KB
15864542f46SBin Meng	int
15964542f46SBin Meng	default 512 if UBOOT_ROMSIZE_KB_512
16064542f46SBin Meng	default 1024 if UBOOT_ROMSIZE_KB_1024
16164542f46SBin Meng	default 2048 if UBOOT_ROMSIZE_KB_2048
16264542f46SBin Meng	default 4096 if UBOOT_ROMSIZE_KB_4096
16364542f46SBin Meng	default 8192 if UBOOT_ROMSIZE_KB_8192
16464542f46SBin Meng	default 16384 if UBOOT_ROMSIZE_KB_16384
16564542f46SBin Meng
16664542f46SBin Meng# Map the config names to a hex value (bytes).
167fce7b276SSimon Glassconfig ROM_SIZE
168fce7b276SSimon Glass	hex
16964542f46SBin Meng	default 0x80000 if UBOOT_ROMSIZE_KB_512
17064542f46SBin Meng	default 0x100000 if UBOOT_ROMSIZE_KB_1024
17164542f46SBin Meng	default 0x200000 if UBOOT_ROMSIZE_KB_2048
17264542f46SBin Meng	default 0x400000 if UBOOT_ROMSIZE_KB_4096
17364542f46SBin Meng	default 0x800000 if UBOOT_ROMSIZE_KB_8192
17464542f46SBin Meng	default 0xc00000 if UBOOT_ROMSIZE_KB_12288
17564542f46SBin Meng	default 0x1000000 if UBOOT_ROMSIZE_KB_16384
176fce7b276SSimon Glass
177fce7b276SSimon Glassconfig HAVE_INTEL_ME
178fce7b276SSimon Glass	bool "Platform requires Intel Management Engine"
179fce7b276SSimon Glass	help
180fce7b276SSimon Glass	  Newer higher-end devices have an Intel Management Engine (ME)
181fce7b276SSimon Glass	  which is a very large binary blob (typically 1.5MB) which is
182fce7b276SSimon Glass	  required for the platform to work. This enforces a particular
183fce7b276SSimon Glass	  SPI flash format. You will need to supply the me.bin file in
184fce7b276SSimon Glass	  your board directory.
185fce7b276SSimon Glass
18665dd74a6SSimon Glassconfig X86_RAMTEST
18765dd74a6SSimon Glass	bool "Perform a simple RAM test after SDRAM initialisation"
18865dd74a6SSimon Glass	help
18965dd74a6SSimon Glass	  If there is something wrong with SDRAM then the platform will
19065dd74a6SSimon Glass	  often crash within U-Boot or the kernel. This option enables a
19165dd74a6SSimon Glass	  very simple RAM test that quickly checks whether the SDRAM seems
19265dd74a6SSimon Glass	  to work correctly. It is not exhaustive but can save time by
19365dd74a6SSimon Glass	  detecting obvious failures.
19465dd74a6SSimon Glass
1958ce24cd9SSimon Glassconfig HAVE_FSP
1968ce24cd9SSimon Glass	bool "Add an Firmware Support Package binary"
197e49cceacSSimon Glass	depends on !EFI
1988ce24cd9SSimon Glass	help
1998ce24cd9SSimon Glass	  Select this option to add an Firmware Support Package binary to
2008ce24cd9SSimon Glass	  the resulting U-Boot image. It is a binary blob which U-Boot uses
2018ce24cd9SSimon Glass	  to set up SDRAM and other chipset specific initialization.
2028ce24cd9SSimon Glass
2038ce24cd9SSimon Glass	  Note: Without this binary U-Boot will not be able to set up its
2048ce24cd9SSimon Glass	  SDRAM so will not boot.
2058ce24cd9SSimon Glass
2068ce24cd9SSimon Glassconfig FSP_FILE
2078ce24cd9SSimon Glass	string "Firmware Support Package binary filename"
2088ce24cd9SSimon Glass	depends on HAVE_FSP
2098ce24cd9SSimon Glass	default "fsp.bin"
2108ce24cd9SSimon Glass	help
2118ce24cd9SSimon Glass	  The filename of the file to use as Firmware Support Package binary
2128ce24cd9SSimon Glass	  in the board directory.
2138ce24cd9SSimon Glass
2148ce24cd9SSimon Glassconfig FSP_ADDR
2158ce24cd9SSimon Glass	hex "Firmware Support Package binary location"
2168ce24cd9SSimon Glass	depends on HAVE_FSP
2178ce24cd9SSimon Glass	default 0xfffc0000
2188ce24cd9SSimon Glass	help
2198ce24cd9SSimon Glass	  FSP is not Position Independent Code (PIC) and the whole FSP has to
2208ce24cd9SSimon Glass	  be rebased if it is placed at a location which is different from the
2218ce24cd9SSimon Glass	  perferred base address specified during the FSP build. Use Intel's
2228ce24cd9SSimon Glass	  Binary Configuration Tool (BCT) to do the rebase.
2238ce24cd9SSimon Glass
2248ce24cd9SSimon Glass	  The default base address of 0xfffc0000 indicates that the binary must
2258ce24cd9SSimon Glass	  be located at offset 0xc0000 from the beginning of a 1MB flash device.
2268ce24cd9SSimon Glass
2278ce24cd9SSimon Glassconfig FSP_TEMP_RAM_ADDR
2288ce24cd9SSimon Glass	hex
229d04e30b8SBin Meng	depends on HAVE_FSP
2308ce24cd9SSimon Glass	default 0x2000000
2318ce24cd9SSimon Glass	help
23248aa6c26SBin Meng	  Stack top address which is used in fsp_init() after DRAM is ready and
2338ce24cd9SSimon Glass	  CAR is disabled.
2348ce24cd9SSimon Glass
23557b10f59SBin Mengconfig FSP_SYS_MALLOC_F_LEN
23657b10f59SBin Meng	hex
23757b10f59SBin Meng	depends on HAVE_FSP
23857b10f59SBin Meng	default 0x100000
23957b10f59SBin Meng	help
24057b10f59SBin Meng	  Additional size of malloc() pool before relocation.
24157b10f59SBin Meng
2423340f2ccSBin Mengconfig FSP_USE_UPD
2433340f2ccSBin Meng	bool
2443340f2ccSBin Meng	depends on HAVE_FSP
2453340f2ccSBin Meng	default y
2463340f2ccSBin Meng	help
2473340f2ccSBin Meng	  Most FSPs use UPD data region for some FSP customization. But there
2483340f2ccSBin Meng	  are still some FSPs that might not even have UPD. For such FSPs,
2493340f2ccSBin Meng	  override this to n in their platform Kconfig files.
2503340f2ccSBin Meng
251dc5be508SBin Mengconfig FSP_BROKEN_HOB
252dc5be508SBin Meng	bool
253dc5be508SBin Meng	depends on HAVE_FSP
254dc5be508SBin Meng	help
255dc5be508SBin Meng	  Indicate some buggy FSPs that does not report memory used by FSP
256dc5be508SBin Meng	  itself as reserved in the resource descriptor HOB. Select this to
257dc5be508SBin Meng	  tell U-Boot to do some additional work to ensure U-Boot relocation
258dc5be508SBin Meng	  do not overwrite the important boot service data which is used by
259dc5be508SBin Meng	  FSP, otherwise the subsequent call to fsp_notify() will fail.
260dc5be508SBin Meng
261e2d76e95SBin Mengconfig ENABLE_MRC_CACHE
262e2d76e95SBin Meng	bool "Enable MRC cache"
263e2d76e95SBin Meng	depends on !EFI && !SYS_COREBOOT
264e2d76e95SBin Meng	help
265e2d76e95SBin Meng	  Enable this feature to cause MRC data to be cached in NV storage
266e2d76e95SBin Meng	  to be used for speeding up boot time on future reboots and/or
267e2d76e95SBin Meng	  power cycles.
268e2d76e95SBin Meng
269*f7d35bc1SSimon Glassconfig HAVE_MRC
270*f7d35bc1SSimon Glass	bool "Add a System Agent binary"
271*f7d35bc1SSimon Glass	depends on !HAVE_FSP
272*f7d35bc1SSimon Glass	help
273*f7d35bc1SSimon Glass	  Select this option to add a System Agent binary to
274*f7d35bc1SSimon Glass	  the resulting U-Boot image. MRC stands for Memory Reference Code.
275*f7d35bc1SSimon Glass	  It is a binary blob which U-Boot uses to set up SDRAM.
276*f7d35bc1SSimon Glass
277*f7d35bc1SSimon Glass	  Note: Without this binary U-Boot will not be able to set up its
278*f7d35bc1SSimon Glass	  SDRAM so will not boot.
279*f7d35bc1SSimon Glass
280*f7d35bc1SSimon Glassconfig CACHE_MRC_BIN
281*f7d35bc1SSimon Glass	bool
282*f7d35bc1SSimon Glass	depends on HAVE_MRC
283*f7d35bc1SSimon Glass	default n
284*f7d35bc1SSimon Glass	help
285*f7d35bc1SSimon Glass	  Enable caching for the memory reference code binary. This uses an
286*f7d35bc1SSimon Glass	  MTRR (memory type range register) to turn on caching for the section
287*f7d35bc1SSimon Glass	  of SPI flash that contains the memory reference code. This makes
288*f7d35bc1SSimon Glass	  SDRAM init run faster.
289*f7d35bc1SSimon Glass
290*f7d35bc1SSimon Glassconfig CACHE_MRC_SIZE_KB
291*f7d35bc1SSimon Glass	int
292*f7d35bc1SSimon Glass	depends on HAVE_MRC
293*f7d35bc1SSimon Glass	default 512
294*f7d35bc1SSimon Glass	help
295*f7d35bc1SSimon Glass	  Sets the size of the cached area for the memory reference code.
296*f7d35bc1SSimon Glass	  This ends at the end of SPI flash (address 0xffffffff) and is
297*f7d35bc1SSimon Glass	  measured in KB. Typically this is set to 512, providing for 0.5MB
298*f7d35bc1SSimon Glass	  of cached space.
299*f7d35bc1SSimon Glass
300*f7d35bc1SSimon Glassconfig DCACHE_RAM_BASE
301*f7d35bc1SSimon Glass	hex
302*f7d35bc1SSimon Glass	depends on HAVE_MRC
303*f7d35bc1SSimon Glass	help
304*f7d35bc1SSimon Glass	  Sets the base of the data cache area in memory space. This is the
305*f7d35bc1SSimon Glass	  start address of the cache-as-RAM (CAR) area and the address varies
306*f7d35bc1SSimon Glass	  depending on the CPU. Once CAR is set up, read/write memory becomes
307*f7d35bc1SSimon Glass	  available at this address and can be used temporarily until SDRAM
308*f7d35bc1SSimon Glass	  is working.
309*f7d35bc1SSimon Glass
310*f7d35bc1SSimon Glassconfig DCACHE_RAM_SIZE
311*f7d35bc1SSimon Glass	hex
312*f7d35bc1SSimon Glass	depends on HAVE_MRC
313*f7d35bc1SSimon Glass	default 0x40000
314*f7d35bc1SSimon Glass	help
315*f7d35bc1SSimon Glass	  Sets the total size of the data cache area in memory space. This
316*f7d35bc1SSimon Glass	  sets the size of the cache-as-RAM (CAR) area. Note that much of the
317*f7d35bc1SSimon Glass	  CAR space is required by the MRC. The CAR space available to U-Boot
318*f7d35bc1SSimon Glass	  is normally at the start and typically extends to 1/4 or 1/2 of the
319*f7d35bc1SSimon Glass	  available size.
320*f7d35bc1SSimon Glass
321*f7d35bc1SSimon Glassconfig DCACHE_RAM_MRC_VAR_SIZE
322*f7d35bc1SSimon Glass	hex
323*f7d35bc1SSimon Glass	depends on HAVE_MRC
324*f7d35bc1SSimon Glass	help
325*f7d35bc1SSimon Glass	  This is the amount of CAR (Cache as RAM) reserved for use by the
326*f7d35bc1SSimon Glass	  memory reference code. This depends on the implementation of the
327*f7d35bc1SSimon Glass	  memory reference code and must be set correctly or the board will
328*f7d35bc1SSimon Glass	  not boot.
329*f7d35bc1SSimon Glass
3304c71322bSBin Mengconfig SMP
3314c71322bSBin Meng	bool "Enable Symmetric Multiprocessing"
3324c71322bSBin Meng	default n
3334c71322bSBin Meng	help
3344c71322bSBin Meng	  Enable use of more than one CPU in U-Boot and the Operating System
3354c71322bSBin Meng	  when loaded. Each CPU will be started up and information can be
3364c71322bSBin Meng	  obtained using the 'cpu' command. If this option is disabled, then
3374c71322bSBin Meng	  only one CPU will be enabled regardless of the number of CPUs
3384c71322bSBin Meng	  available.
3394c71322bSBin Meng
34045b5a378SSimon Glassconfig MAX_CPUS
34145b5a378SSimon Glass	int "Maximum number of CPUs permitted"
342063374d2SBin Meng	depends on SMP
34345b5a378SSimon Glass	default 4
34445b5a378SSimon Glass	help
34545b5a378SSimon Glass	  When using multi-CPU chips it is possible for U-Boot to start up
34645b5a378SSimon Glass	  more than one CPU. The stack memory used by all of these CPUs is
34745b5a378SSimon Glass	  pre-allocated so at present U-Boot wants to know the maximum
34845b5a378SSimon Glass	  number of CPUs that may be present. Set this to at least as high
34945b5a378SSimon Glass	  as the number of CPUs in your system (it uses about 4KB of RAM for
35045b5a378SSimon Glass	  each CPU).
35145b5a378SSimon Glass
35245b5a378SSimon Glassconfig AP_STACK_SIZE
35345b5a378SSimon Glass	hex
354063374d2SBin Meng	depends on SMP
35545b5a378SSimon Glass	default 0x1000
35645b5a378SSimon Glass	help
35745b5a378SSimon Glass	  Each additional CPU started by U-Boot requires its own stack. This
35845b5a378SSimon Glass	  option sets the stack size used by each CPU and directly affects
35945b5a378SSimon Glass	  the memory used by this initialisation process. Typically 4KB is
36045b5a378SSimon Glass	  enough space.
36145b5a378SSimon Glass
362786a08e0SBin Mengconfig HAVE_VGA_BIOS
363786a08e0SBin Meng	bool "Add a VGA BIOS image"
364786a08e0SBin Meng	help
365786a08e0SBin Meng	  Select this option if you have a VGA BIOS image that you would
366786a08e0SBin Meng	  like to add to your ROM.
367786a08e0SBin Meng
368786a08e0SBin Mengconfig VGA_BIOS_FILE
369786a08e0SBin Meng	string "VGA BIOS image filename"
370786a08e0SBin Meng	depends on HAVE_VGA_BIOS
371786a08e0SBin Meng	default "vga.bin"
372786a08e0SBin Meng	help
373786a08e0SBin Meng	  The filename of the VGA BIOS image in the board directory.
374786a08e0SBin Meng
375786a08e0SBin Mengconfig VGA_BIOS_ADDR
376786a08e0SBin Meng	hex "VGA BIOS image location"
377786a08e0SBin Meng	depends on HAVE_VGA_BIOS
378786a08e0SBin Meng	default 0xfff90000
379786a08e0SBin Meng	help
380786a08e0SBin Meng	  The location of VGA BIOS image in the SPI flash. For example, base
381786a08e0SBin Meng	  address of 0xfff90000 indicates that the image will be put at offset
382786a08e0SBin Meng	  0x90000 from the beginning of a 1MB flash device.
383786a08e0SBin Meng
384b5b6b019SBin Mengmenu "System tables"
3858744bef5SBin Meng	depends on !EFI && !SYS_COREBOOT
386b5b6b019SBin Meng
387b5b6b019SBin Mengconfig GENERATE_PIRQ_TABLE
388b5b6b019SBin Meng	bool "Generate a PIRQ table"
389b5b6b019SBin Meng	default n
390b5b6b019SBin Meng	help
391b5b6b019SBin Meng	  Generate a PIRQ routing table for this board. The PIRQ routing table
392b5b6b019SBin Meng	  is generated by U-Boot in the system memory from 0xf0000 to 0xfffff
393b5b6b019SBin Meng	  at every 16-byte boundary with a PCI IRQ routing signature ("$PIR").
394b5b6b019SBin Meng	  It specifies the interrupt router information as well how all the PCI
395b5b6b019SBin Meng	  devices' interrupt pins are wired to PIRQs.
396b5b6b019SBin Meng
3976388e357SSimon Glassconfig GENERATE_SFI_TABLE
3986388e357SSimon Glass	bool "Generate a SFI (Simple Firmware Interface) table"
3996388e357SSimon Glass	help
4006388e357SSimon Glass	  The Simple Firmware Interface (SFI) provides a lightweight method
4016388e357SSimon Glass	  for platform firmware to pass information to the operating system
4026388e357SSimon Glass	  via static tables in memory.  Kernel SFI support is required to
4036388e357SSimon Glass	  boot on SFI-only platforms.  If you have ACPI tables then these are
4046388e357SSimon Glass	  used instead.
4056388e357SSimon Glass
4066388e357SSimon Glass	  U-Boot writes this table in write_sfi_table() just before booting
4076388e357SSimon Glass	  the OS.
4086388e357SSimon Glass
4096388e357SSimon Glass	  For more information, see http://simplefirmware.org
4106388e357SSimon Glass
41107545d86SBin Mengconfig GENERATE_MP_TABLE
41207545d86SBin Meng	bool "Generate an MP (Multi-Processor) table"
41307545d86SBin Meng	default n
41407545d86SBin Meng	help
41507545d86SBin Meng	  Generate an MP (Multi-Processor) table for this board. The MP table
41607545d86SBin Meng	  provides a way for the operating system to support for symmetric
41707545d86SBin Meng	  multiprocessing as well as symmetric I/O interrupt handling with
41807545d86SBin Meng	  the local APIC and I/O APIC.
41907545d86SBin Meng
420867bcb63SSaket Sinhaconfig GENERATE_ACPI_TABLE
421867bcb63SSaket Sinha	bool "Generate an ACPI (Advanced Configuration and Power Interface) table"
422867bcb63SSaket Sinha	default n
423867bcb63SSaket Sinha	help
424867bcb63SSaket Sinha	  The Advanced Configuration and Power Interface (ACPI) specification
425867bcb63SSaket Sinha	  provides an open standard for device configuration and management
426867bcb63SSaket Sinha	  by the operating system. It defines platform-independent interfaces
427867bcb63SSaket Sinha	  for configuration and power management monitoring.
428867bcb63SSaket Sinha
429a5dd1e67SMiao Yanconfig QEMU_ACPI_TABLE
430a5dd1e67SMiao Yan	bool "Load ACPI table from QEMU fw_cfg interface"
431a5dd1e67SMiao Yan	depends on GENERATE_ACPI_TABLE && QEMU
432a5dd1e67SMiao Yan	default y
433a5dd1e67SMiao Yan	help
434a5dd1e67SMiao Yan	  By default, U-Boot generates its own ACPI tables. This option, if
435a5dd1e67SMiao Yan	  enabled, disables U-Boot's version and loads ACPI tables generated
436a5dd1e67SMiao Yan	  by QEMU.
437a5dd1e67SMiao Yan
438721e992aSBin Mengconfig GENERATE_SMBIOS_TABLE
439721e992aSBin Meng	bool "Generate an SMBIOS (System Management BIOS) table"
440721e992aSBin Meng	default y
441721e992aSBin Meng	help
442721e992aSBin Meng	  The System Management BIOS (SMBIOS) specification addresses how
443721e992aSBin Meng	  motherboard and system vendors present management information about
444721e992aSBin Meng	  their products in a standard format by extending the BIOS interface
445721e992aSBin Meng	  on Intel architecture systems.
446721e992aSBin Meng
447721e992aSBin Meng	  Check http://www.dmtf.org/standards/smbios for details.
448721e992aSBin Meng
449b5b6b019SBin Mengendmenu
450b5b6b019SBin Meng
451b5b6b019SBin Mengconfig MAX_PIRQ_LINKS
452b5b6b019SBin Meng	int
453b5b6b019SBin Meng	default 8
454b5b6b019SBin Meng	help
455b5b6b019SBin Meng	  This variable specifies the number of PIRQ interrupt links which are
456b5b6b019SBin Meng	  routable. On most older chipsets, this is 4, PIRQA through PIRQD.
457b5b6b019SBin Meng	  Some newer chipsets offer more than four links, commonly up to PIRQH.
458b5b6b019SBin Meng
459b5b6b019SBin Mengconfig IRQ_SLOT_COUNT
460b5b6b019SBin Meng	int
461b5b6b019SBin Meng	default 128
462b5b6b019SBin Meng	help
463b5b6b019SBin Meng	  U-Boot can support up to 254 IRQ slot info in the PIRQ routing table
464b5b6b019SBin Meng	  which in turns forms a table of exact 4KiB. The default value 128
465b5b6b019SBin Meng	  should be enough for most boards. If this does not fit your board,
466b5b6b019SBin Meng	  change it according to your needs.
467b5b6b019SBin Meng
4682d934e57SSimon Glassconfig PCIE_ECAM_BASE
4692d934e57SSimon Glass	hex
4702d934e57SSimon Glass	default 0xe0000000
4712d934e57SSimon Glass	help
4722d934e57SSimon Glass	  This is the memory-mapped address of PCI configuration space, which
4732d934e57SSimon Glass	  is only available through the Enhanced Configuration Access
4742d934e57SSimon Glass	  Mechanism (ECAM) with PCI Express. It can be set up almost
4752d934e57SSimon Glass	  anywhere. Before it is set up, it is possible to access PCI
4762d934e57SSimon Glass	  configuration space through I/O access, but memory access is more
4772d934e57SSimon Glass	  convenient. Using this, PCI can be scanned and configured. This
4782d934e57SSimon Glass	  should be set to a region that does not conflict with memory
4792d934e57SSimon Glass	  assigned to PCI devices - i.e. the memory and prefetch regions, as
4802d934e57SSimon Glass	  passed to pci_set_region().
4812d934e57SSimon Glass
4821ed6648bSBin Mengconfig PCIE_ECAM_SIZE
4831ed6648bSBin Meng	hex
4841ed6648bSBin Meng	default 0x10000000
4851ed6648bSBin Meng	help
4861ed6648bSBin Meng	  This is the size of memory-mapped address of PCI configuration space,
4871ed6648bSBin Meng	  which is only available through the Enhanced Configuration Access
4881ed6648bSBin Meng	  Mechanism (ECAM) with PCI Express. Each bus consumes 1 MiB memory,
4891ed6648bSBin Meng	  so a default 0x10000000 size covers all of the 256 buses which is the
4901ed6648bSBin Meng	  maximum number of PCI buses as defined by the PCI specification.
4911ed6648bSBin Meng
4921eb39a50SBin Mengconfig I8259_PIC
4931eb39a50SBin Meng	bool
4941eb39a50SBin Meng	default y
4951eb39a50SBin Meng	help
4961eb39a50SBin Meng	  Intel 8259 ISA compatible chipset incorporates two 8259 (master and
4971eb39a50SBin Meng	  slave) interrupt controllers. Include this to have U-Boot set up
4981eb39a50SBin Meng	  the interrupt correctly.
4991eb39a50SBin Meng
5001eb39a50SBin Mengconfig I8254_TIMER
5011eb39a50SBin Meng	bool
5021eb39a50SBin Meng	default y
5031eb39a50SBin Meng	help
5041eb39a50SBin Meng	  Intel 8254 timer contains three counters which have fixed uses.
5051eb39a50SBin Meng	  Include this to have U-Boot set up the timer correctly.
5061eb39a50SBin Meng
5076b44ae6bSSimon Glassconfig I8042_KEYB
5086b44ae6bSSimon Glass	default y
5096b44ae6bSSimon Glass
5106b44ae6bSSimon Glassconfig DM_KEYBOARD
5116b44ae6bSSimon Glass	default y
5126b44ae6bSSimon Glass
5133cf23719SBin Mengconfig SEABIOS
5143cf23719SBin Meng	bool "Support booting SeaBIOS"
5153cf23719SBin Meng	help
5163cf23719SBin Meng	  SeaBIOS is an open source implementation of a 16-bit X86 BIOS.
5173cf23719SBin Meng	  It can run in an emulator or natively on X86 hardware with the use
5183cf23719SBin Meng	  of coreboot/U-Boot. By turning on this option, U-Boot prepares
5193cf23719SBin Meng	  all the configuration tables that are necessary to boot SeaBIOS.
5203cf23719SBin Meng
5213cf23719SBin Meng	  Check http://www.seabios.org/SeaBIOS for details.
5223cf23719SBin Meng
523e49cceacSSimon Glasssource "arch/x86/lib/efi/Kconfig"
524e49cceacSSimon Glass
525dd84058dSMasahiro Yamadaendmenu
526