1dd84058dSMasahiro Yamadamenu "x86 architecture" 2dd84058dSMasahiro Yamada depends on X86 3dd84058dSMasahiro Yamada 4dd84058dSMasahiro Yamadaconfig SYS_ARCH 5dd84058dSMasahiro Yamada default "x86" 6dd84058dSMasahiro Yamada 7dd84058dSMasahiro Yamadachoice 8a66ad67fSSimon Glass prompt "Run U-Boot in 32/64-bit mode" 9a66ad67fSSimon Glass default X86_RUN_32BIT 10a66ad67fSSimon Glass help 11a66ad67fSSimon Glass U-Boot can be built as a 32-bit binary which runs in 32-bit mode 12a66ad67fSSimon Glass even on 64-bit machines. In this case SPL is not used, and U-Boot 13a66ad67fSSimon Glass runs directly from the reset vector (via 16-bit start-up). 14a66ad67fSSimon Glass 15a66ad67fSSimon Glass Alternatively it can be run as a 64-bit binary, thus requiring a 16a66ad67fSSimon Glass 64-bit machine. In this case SPL runs in 32-bit mode (via 16-bit 17a66ad67fSSimon Glass start-up) then jumps to U-Boot in 64-bit mode. 18a66ad67fSSimon Glass 19a66ad67fSSimon Glass For now, 32-bit mode is recommended, as 64-bit is still 20a66ad67fSSimon Glass experimental and is missing a lot of features. 21a66ad67fSSimon Glass 22a66ad67fSSimon Glassconfig X86_RUN_32BIT 23a66ad67fSSimon Glass bool "32-bit" 24a66ad67fSSimon Glass help 25a66ad67fSSimon Glass Build U-Boot as a 32-bit binary with no SPL. This is the currently 26a66ad67fSSimon Glass supported normal setup. U-Boot will stay in 32-bit mode even on 27a66ad67fSSimon Glass 64-bit machines. When booting a 64-bit kernel, U-Boot will switch 28a66ad67fSSimon Glass to 64-bit just before starting the kernel. Only the bottom 4GB of 29a66ad67fSSimon Glass memory can be accessed through normal means, although 30a66ad67fSSimon Glass arch_phys_memset() can be used for basic access to other memory. 31a66ad67fSSimon Glass 32a66ad67fSSimon Glassconfig X86_RUN_64BIT 33a66ad67fSSimon Glass bool "64-bit" 34a66ad67fSSimon Glass select X86_64 35a66ad67fSSimon Glass select SUPPORT_SPL 36a66ad67fSSimon Glass select SPL 37a66ad67fSSimon Glass select SPL_SEPARATE_BSS 38a66ad67fSSimon Glass help 39a66ad67fSSimon Glass Build U-Boot as a 64-bit binary with a 32-bit SPL. This is 40a66ad67fSSimon Glass experimental and many features are missing. U-Boot SPL starts up, 41a66ad67fSSimon Glass runs through the 16-bit and 32-bit init, then switches to 64-bit 42a66ad67fSSimon Glass mode and jumps to U-Boot proper. 43a66ad67fSSimon Glass 44a66ad67fSSimon Glassendchoice 45a66ad67fSSimon Glass 46a66ad67fSSimon Glassconfig X86_64 47a66ad67fSSimon Glass bool 48a66ad67fSSimon Glass 49a66ad67fSSimon Glassconfig SPL_X86_64 50a66ad67fSSimon Glass bool 51a66ad67fSSimon Glass depends on SPL 52a66ad67fSSimon Glass 53a66ad67fSSimon Glasschoice 5465c4ac0aSBin Meng prompt "Mainboard vendor" 5599a309f3SBin Meng default VENDOR_EMULATION 56dd84058dSMasahiro Yamada 57215099a5SGeorge McCollisterconfig VENDOR_ADVANTECH 58215099a5SGeorge McCollister bool "advantech" 59215099a5SGeorge McCollister 6082ceba2cSStefan Roeseconfig VENDOR_CONGATEC 6182ceba2cSStefan Roese bool "congatec" 6282ceba2cSStefan Roese 6365c4ac0aSBin Mengconfig VENDOR_COREBOOT 6465c4ac0aSBin Meng bool "coreboot" 658ef07571SSimon Glass 66b1ad6c69SStefan Roeseconfig VENDOR_DFI 67b1ad6c69SStefan Roese bool "dfi" 68b1ad6c69SStefan Roese 693dcdd17bSBen Stoltzconfig VENDOR_EFI 703dcdd17bSBen Stoltz bool "efi" 713dcdd17bSBen Stoltz 72a65b25d1SBin Mengconfig VENDOR_EMULATION 73a65b25d1SBin Meng bool "emulation" 74a65b25d1SBin Meng 7565c4ac0aSBin Mengconfig VENDOR_GOOGLE 7665c4ac0aSBin Meng bool "Google" 77dd84058dSMasahiro Yamada 7865c4ac0aSBin Mengconfig VENDOR_INTEL 7965c4ac0aSBin Meng bool "Intel" 80ef46bea0SBin Meng 81dd84058dSMasahiro Yamadaendchoice 82dd84058dSMasahiro Yamada 8365c4ac0aSBin Meng# board-specific options below 84215099a5SGeorge McCollistersource "board/advantech/Kconfig" 8582ceba2cSStefan Roesesource "board/congatec/Kconfig" 8665c4ac0aSBin Mengsource "board/coreboot/Kconfig" 87b1ad6c69SStefan Roesesource "board/dfi/Kconfig" 883e9aa320SBen Stoltzsource "board/efi/Kconfig" 89a65b25d1SBin Mengsource "board/emulation/Kconfig" 9065c4ac0aSBin Mengsource "board/google/Kconfig" 9165c4ac0aSBin Mengsource "board/intel/Kconfig" 9265c4ac0aSBin Meng 93029194a3SBin Meng# platform-specific options below 94029194a3SBin Mengsource "arch/x86/cpu/baytrail/Kconfig" 952f3f477bSSimon Glasssource "arch/x86/cpu/broadwell/Kconfig" 96029194a3SBin Mengsource "arch/x86/cpu/coreboot/Kconfig" 97029194a3SBin Mengsource "arch/x86/cpu/ivybridge/Kconfig" 98a65b25d1SBin Mengsource "arch/x86/cpu/qemu/Kconfig" 99029194a3SBin Mengsource "arch/x86/cpu/quark/Kconfig" 100029194a3SBin Mengsource "arch/x86/cpu/queensbay/Kconfig" 101029194a3SBin Meng 102029194a3SBin Meng# architecture-specific options below 103029194a3SBin Meng 104a219639dSSimon Glassconfig AHCI 105a219639dSSimon Glass default y 106a219639dSSimon Glass 107b724bd7dSSimon Glassconfig SYS_MALLOC_F_LEN 108b724bd7dSSimon Glass default 0x800 109b724bd7dSSimon Glass 11070a09c6cSSimon Glassconfig RAMBASE 11170a09c6cSSimon Glass hex 11270a09c6cSSimon Glass default 0x100000 11370a09c6cSSimon Glass 11470a09c6cSSimon Glassconfig XIP_ROM_SIZE 11570a09c6cSSimon Glass hex 1167698d36aSBin Meng depends on X86_RESET_VECTOR 117bbd43d65SSimon Glass default ROM_SIZE 11870a09c6cSSimon Glass 11970a09c6cSSimon Glassconfig CPU_ADDR_BITS 12070a09c6cSSimon Glass int 12170a09c6cSSimon Glass default 36 12270a09c6cSSimon Glass 12365dd74a6SSimon Glassconfig HPET_ADDRESS 12465dd74a6SSimon Glass hex 12565dd74a6SSimon Glass default 0xfed00000 if !HPET_ADDRESS_OVERRIDE 12665dd74a6SSimon Glass 12765dd74a6SSimon Glassconfig SMM_TSEG 12865dd74a6SSimon Glass bool 12965dd74a6SSimon Glass default n 13065dd74a6SSimon Glass 13165dd74a6SSimon Glassconfig SMM_TSEG_SIZE 13265dd74a6SSimon Glass hex 13365dd74a6SSimon Glass 1348cb20cccSBin Mengconfig X86_RESET_VECTOR 1358cb20cccSBin Meng bool 1368cb20cccSBin Meng default n 1378cb20cccSBin Meng 138*13f1dc64SSimon Glass# The following options control where the 16-bit and 32-bit init lies 139*13f1dc64SSimon Glass# If SPL is enabled then it normally holds this init code, and U-Boot proper 140*13f1dc64SSimon Glass# is normally a 64-bit build. 141*13f1dc64SSimon Glass# 142*13f1dc64SSimon Glass# The 16-bit init refers to the reset vector and the small amount of code to 143*13f1dc64SSimon Glass# get the processor into 32-bit mode. It may be in SPL or in U-Boot proper, 144*13f1dc64SSimon Glass# or missing altogether if U-Boot is started from EFI or coreboot. 145*13f1dc64SSimon Glass# 146*13f1dc64SSimon Glass# The 32-bit init refers to processor init, running binary blobs including 147*13f1dc64SSimon Glass# FSP, setting up interrupts and anything else that needs to be done in 148*13f1dc64SSimon Glass# 32-bit code. It is normally in the same place as 16-bit init if that is 149*13f1dc64SSimon Glass# enabled (i.e. they are both in SPL, or both in U-Boot proper). 150*13f1dc64SSimon Glassconfig X86_16BIT_INIT 151*13f1dc64SSimon Glass bool 152*13f1dc64SSimon Glass depends on X86_RESET_VECTOR 153*13f1dc64SSimon Glass default y if X86_RESET_VECTOR && !SPL 154*13f1dc64SSimon Glass help 155*13f1dc64SSimon Glass This is enabled when 16-bit init is in U-Boot proper 156*13f1dc64SSimon Glass 157*13f1dc64SSimon Glassconfig SPL_X86_16BIT_INIT 158*13f1dc64SSimon Glass bool 159*13f1dc64SSimon Glass depends on X86_RESET_VECTOR 160*13f1dc64SSimon Glass default y if X86_RESET_VECTOR && SPL 161*13f1dc64SSimon Glass help 162*13f1dc64SSimon Glass This is enabled when 16-bit init is in SPL 163*13f1dc64SSimon Glass 164*13f1dc64SSimon Glassconfig X86_32BIT_INIT 165*13f1dc64SSimon Glass bool 166*13f1dc64SSimon Glass depends on X86_RESET_VECTOR 167*13f1dc64SSimon Glass default y if X86_RESET_VECTOR && !SPL 168*13f1dc64SSimon Glass help 169*13f1dc64SSimon Glass This is enabled when 32-bit init is in U-Boot proper 170*13f1dc64SSimon Glass 171*13f1dc64SSimon Glassconfig SPL_X86_32BIT_INIT 172*13f1dc64SSimon Glass bool 173*13f1dc64SSimon Glass depends on X86_RESET_VECTOR 174*13f1dc64SSimon Glass default y if X86_RESET_VECTOR && SPL 175*13f1dc64SSimon Glass help 176*13f1dc64SSimon Glass This is enabled when 32-bit init is in SPL 177*13f1dc64SSimon Glass 178343fb990SBin Mengconfig RESET_SEG_START 179343fb990SBin Meng hex 180343fb990SBin Meng depends on X86_RESET_VECTOR 181343fb990SBin Meng default 0xffff0000 182343fb990SBin Meng 183343fb990SBin Mengconfig RESET_SEG_SIZE 184343fb990SBin Meng hex 185343fb990SBin Meng depends on X86_RESET_VECTOR 186343fb990SBin Meng default 0x10000 187343fb990SBin Meng 188343fb990SBin Mengconfig RESET_VEC_LOC 189343fb990SBin Meng hex 190343fb990SBin Meng depends on X86_RESET_VECTOR 191343fb990SBin Meng default 0xfffffff0 192343fb990SBin Meng 1938cb20cccSBin Mengconfig SYS_X86_START16 1948cb20cccSBin Meng hex 1958cb20cccSBin Meng depends on X86_RESET_VECTOR 1968cb20cccSBin Meng default 0xfffff800 1978cb20cccSBin Meng 19864542f46SBin Mengconfig BOARD_ROMSIZE_KB_512 19964542f46SBin Meng bool 20064542f46SBin Mengconfig BOARD_ROMSIZE_KB_1024 20164542f46SBin Meng bool 20264542f46SBin Mengconfig BOARD_ROMSIZE_KB_2048 20364542f46SBin Meng bool 20464542f46SBin Mengconfig BOARD_ROMSIZE_KB_4096 20564542f46SBin Meng bool 20664542f46SBin Mengconfig BOARD_ROMSIZE_KB_8192 20764542f46SBin Meng bool 20864542f46SBin Mengconfig BOARD_ROMSIZE_KB_16384 20964542f46SBin Meng bool 21064542f46SBin Meng 21164542f46SBin Mengchoice 21264542f46SBin Meng prompt "ROM chip size" 2137698d36aSBin Meng depends on X86_RESET_VECTOR 21464542f46SBin Meng default UBOOT_ROMSIZE_KB_512 if BOARD_ROMSIZE_KB_512 21564542f46SBin Meng default UBOOT_ROMSIZE_KB_1024 if BOARD_ROMSIZE_KB_1024 21664542f46SBin Meng default UBOOT_ROMSIZE_KB_2048 if BOARD_ROMSIZE_KB_2048 21764542f46SBin Meng default UBOOT_ROMSIZE_KB_4096 if BOARD_ROMSIZE_KB_4096 21864542f46SBin Meng default UBOOT_ROMSIZE_KB_8192 if BOARD_ROMSIZE_KB_8192 21964542f46SBin Meng default UBOOT_ROMSIZE_KB_16384 if BOARD_ROMSIZE_KB_16384 22064542f46SBin Meng help 22164542f46SBin Meng Select the size of the ROM chip you intend to flash U-Boot on. 22264542f46SBin Meng 22364542f46SBin Meng The build system will take care of creating a u-boot.rom file 22464542f46SBin Meng of the matching size. 22564542f46SBin Meng 22664542f46SBin Mengconfig UBOOT_ROMSIZE_KB_512 22764542f46SBin Meng bool "512 KB" 22864542f46SBin Meng help 22964542f46SBin Meng Choose this option if you have a 512 KB ROM chip. 23064542f46SBin Meng 23164542f46SBin Mengconfig UBOOT_ROMSIZE_KB_1024 23264542f46SBin Meng bool "1024 KB (1 MB)" 23364542f46SBin Meng help 23464542f46SBin Meng Choose this option if you have a 1024 KB (1 MB) ROM chip. 23564542f46SBin Meng 23664542f46SBin Mengconfig UBOOT_ROMSIZE_KB_2048 23764542f46SBin Meng bool "2048 KB (2 MB)" 23864542f46SBin Meng help 23964542f46SBin Meng Choose this option if you have a 2048 KB (2 MB) ROM chip. 24064542f46SBin Meng 24164542f46SBin Mengconfig UBOOT_ROMSIZE_KB_4096 24264542f46SBin Meng bool "4096 KB (4 MB)" 24364542f46SBin Meng help 24464542f46SBin Meng Choose this option if you have a 4096 KB (4 MB) ROM chip. 24564542f46SBin Meng 24664542f46SBin Mengconfig UBOOT_ROMSIZE_KB_8192 24764542f46SBin Meng bool "8192 KB (8 MB)" 24864542f46SBin Meng help 24964542f46SBin Meng Choose this option if you have a 8192 KB (8 MB) ROM chip. 25064542f46SBin Meng 25164542f46SBin Mengconfig UBOOT_ROMSIZE_KB_16384 25264542f46SBin Meng bool "16384 KB (16 MB)" 25364542f46SBin Meng help 25464542f46SBin Meng Choose this option if you have a 16384 KB (16 MB) ROM chip. 25564542f46SBin Meng 25664542f46SBin Mengendchoice 25764542f46SBin Meng 25864542f46SBin Meng# Map the config names to an integer (KB). 25964542f46SBin Mengconfig UBOOT_ROMSIZE_KB 26064542f46SBin Meng int 26164542f46SBin Meng default 512 if UBOOT_ROMSIZE_KB_512 26264542f46SBin Meng default 1024 if UBOOT_ROMSIZE_KB_1024 26364542f46SBin Meng default 2048 if UBOOT_ROMSIZE_KB_2048 26464542f46SBin Meng default 4096 if UBOOT_ROMSIZE_KB_4096 26564542f46SBin Meng default 8192 if UBOOT_ROMSIZE_KB_8192 26664542f46SBin Meng default 16384 if UBOOT_ROMSIZE_KB_16384 26764542f46SBin Meng 26864542f46SBin Meng# Map the config names to a hex value (bytes). 269fce7b276SSimon Glassconfig ROM_SIZE 270fce7b276SSimon Glass hex 27164542f46SBin Meng default 0x80000 if UBOOT_ROMSIZE_KB_512 27264542f46SBin Meng default 0x100000 if UBOOT_ROMSIZE_KB_1024 27364542f46SBin Meng default 0x200000 if UBOOT_ROMSIZE_KB_2048 27464542f46SBin Meng default 0x400000 if UBOOT_ROMSIZE_KB_4096 27564542f46SBin Meng default 0x800000 if UBOOT_ROMSIZE_KB_8192 27664542f46SBin Meng default 0xc00000 if UBOOT_ROMSIZE_KB_12288 27764542f46SBin Meng default 0x1000000 if UBOOT_ROMSIZE_KB_16384 278fce7b276SSimon Glass 279fce7b276SSimon Glassconfig HAVE_INTEL_ME 280fce7b276SSimon Glass bool "Platform requires Intel Management Engine" 281fce7b276SSimon Glass help 282fce7b276SSimon Glass Newer higher-end devices have an Intel Management Engine (ME) 283fce7b276SSimon Glass which is a very large binary blob (typically 1.5MB) which is 284fce7b276SSimon Glass required for the platform to work. This enforces a particular 285fce7b276SSimon Glass SPI flash format. You will need to supply the me.bin file in 286fce7b276SSimon Glass your board directory. 287fce7b276SSimon Glass 28865dd74a6SSimon Glassconfig X86_RAMTEST 28965dd74a6SSimon Glass bool "Perform a simple RAM test after SDRAM initialisation" 29065dd74a6SSimon Glass help 29165dd74a6SSimon Glass If there is something wrong with SDRAM then the platform will 29265dd74a6SSimon Glass often crash within U-Boot or the kernel. This option enables a 29365dd74a6SSimon Glass very simple RAM test that quickly checks whether the SDRAM seems 29465dd74a6SSimon Glass to work correctly. It is not exhaustive but can save time by 29565dd74a6SSimon Glass detecting obvious failures. 29665dd74a6SSimon Glass 2978ce24cd9SSimon Glassconfig HAVE_FSP 2988ce24cd9SSimon Glass bool "Add an Firmware Support Package binary" 299e49cceacSSimon Glass depends on !EFI 3008ce24cd9SSimon Glass help 3018ce24cd9SSimon Glass Select this option to add an Firmware Support Package binary to 3028ce24cd9SSimon Glass the resulting U-Boot image. It is a binary blob which U-Boot uses 3038ce24cd9SSimon Glass to set up SDRAM and other chipset specific initialization. 3048ce24cd9SSimon Glass 3058ce24cd9SSimon Glass Note: Without this binary U-Boot will not be able to set up its 3068ce24cd9SSimon Glass SDRAM so will not boot. 3078ce24cd9SSimon Glass 3088ce24cd9SSimon Glassconfig FSP_FILE 3098ce24cd9SSimon Glass string "Firmware Support Package binary filename" 3108ce24cd9SSimon Glass depends on HAVE_FSP 3118ce24cd9SSimon Glass default "fsp.bin" 3128ce24cd9SSimon Glass help 3138ce24cd9SSimon Glass The filename of the file to use as Firmware Support Package binary 3148ce24cd9SSimon Glass in the board directory. 3158ce24cd9SSimon Glass 3168ce24cd9SSimon Glassconfig FSP_ADDR 3178ce24cd9SSimon Glass hex "Firmware Support Package binary location" 3188ce24cd9SSimon Glass depends on HAVE_FSP 3198ce24cd9SSimon Glass default 0xfffc0000 3208ce24cd9SSimon Glass help 3218ce24cd9SSimon Glass FSP is not Position Independent Code (PIC) and the whole FSP has to 3228ce24cd9SSimon Glass be rebased if it is placed at a location which is different from the 3238ce24cd9SSimon Glass perferred base address specified during the FSP build. Use Intel's 3248ce24cd9SSimon Glass Binary Configuration Tool (BCT) to do the rebase. 3258ce24cd9SSimon Glass 3268ce24cd9SSimon Glass The default base address of 0xfffc0000 indicates that the binary must 3278ce24cd9SSimon Glass be located at offset 0xc0000 from the beginning of a 1MB flash device. 3288ce24cd9SSimon Glass 3298ce24cd9SSimon Glassconfig FSP_TEMP_RAM_ADDR 3308ce24cd9SSimon Glass hex 331d04e30b8SBin Meng depends on HAVE_FSP 3328ce24cd9SSimon Glass default 0x2000000 3338ce24cd9SSimon Glass help 33448aa6c26SBin Meng Stack top address which is used in fsp_init() after DRAM is ready and 3358ce24cd9SSimon Glass CAR is disabled. 3368ce24cd9SSimon Glass 33757b10f59SBin Mengconfig FSP_SYS_MALLOC_F_LEN 33857b10f59SBin Meng hex 33957b10f59SBin Meng depends on HAVE_FSP 34057b10f59SBin Meng default 0x100000 34157b10f59SBin Meng help 34257b10f59SBin Meng Additional size of malloc() pool before relocation. 34357b10f59SBin Meng 3443340f2ccSBin Mengconfig FSP_USE_UPD 3453340f2ccSBin Meng bool 3463340f2ccSBin Meng depends on HAVE_FSP 3473340f2ccSBin Meng default y 3483340f2ccSBin Meng help 3493340f2ccSBin Meng Most FSPs use UPD data region for some FSP customization. But there 3503340f2ccSBin Meng are still some FSPs that might not even have UPD. For such FSPs, 3513340f2ccSBin Meng override this to n in their platform Kconfig files. 3523340f2ccSBin Meng 353dc5be508SBin Mengconfig FSP_BROKEN_HOB 354dc5be508SBin Meng bool 355dc5be508SBin Meng depends on HAVE_FSP 356dc5be508SBin Meng help 357dc5be508SBin Meng Indicate some buggy FSPs that does not report memory used by FSP 358dc5be508SBin Meng itself as reserved in the resource descriptor HOB. Select this to 359dc5be508SBin Meng tell U-Boot to do some additional work to ensure U-Boot relocation 360dc5be508SBin Meng do not overwrite the important boot service data which is used by 361dc5be508SBin Meng FSP, otherwise the subsequent call to fsp_notify() will fail. 362dc5be508SBin Meng 363e2d76e95SBin Mengconfig ENABLE_MRC_CACHE 364e2d76e95SBin Meng bool "Enable MRC cache" 365e2d76e95SBin Meng depends on !EFI && !SYS_COREBOOT 366e2d76e95SBin Meng help 367e2d76e95SBin Meng Enable this feature to cause MRC data to be cached in NV storage 368e2d76e95SBin Meng to be used for speeding up boot time on future reboots and/or 369e2d76e95SBin Meng power cycles. 370e2d76e95SBin Meng 3715c60a3abSBin Meng For platforms that use Intel FSP for the memory initialization, 3725c60a3abSBin Meng please check FSP output HOB via U-Boot command 'fsp hob' to see 3735c60a3abSBin Meng if there is FSP_NON_VOLATILE_STORAGE_HOB_GUID (asm/fsp/fsp_hob.h). 3745c60a3abSBin Meng If such GUID does not exist, MRC cache is not avaiable on such 3755c60a3abSBin Meng platform (eg: Intel Queensbay), which means selecting this option 3765c60a3abSBin Meng here does not make any difference. 3775c60a3abSBin Meng 378f7d35bc1SSimon Glassconfig HAVE_MRC 379f7d35bc1SSimon Glass bool "Add a System Agent binary" 380f7d35bc1SSimon Glass depends on !HAVE_FSP 381f7d35bc1SSimon Glass help 382f7d35bc1SSimon Glass Select this option to add a System Agent binary to 383f7d35bc1SSimon Glass the resulting U-Boot image. MRC stands for Memory Reference Code. 384f7d35bc1SSimon Glass It is a binary blob which U-Boot uses to set up SDRAM. 385f7d35bc1SSimon Glass 386f7d35bc1SSimon Glass Note: Without this binary U-Boot will not be able to set up its 387f7d35bc1SSimon Glass SDRAM so will not boot. 388f7d35bc1SSimon Glass 389f7d35bc1SSimon Glassconfig CACHE_MRC_BIN 390f7d35bc1SSimon Glass bool 391f7d35bc1SSimon Glass depends on HAVE_MRC 392f7d35bc1SSimon Glass default n 393f7d35bc1SSimon Glass help 394f7d35bc1SSimon Glass Enable caching for the memory reference code binary. This uses an 395f7d35bc1SSimon Glass MTRR (memory type range register) to turn on caching for the section 396f7d35bc1SSimon Glass of SPI flash that contains the memory reference code. This makes 397f7d35bc1SSimon Glass SDRAM init run faster. 398f7d35bc1SSimon Glass 399f7d35bc1SSimon Glassconfig CACHE_MRC_SIZE_KB 400f7d35bc1SSimon Glass int 401f7d35bc1SSimon Glass depends on HAVE_MRC 402f7d35bc1SSimon Glass default 512 403f7d35bc1SSimon Glass help 404f7d35bc1SSimon Glass Sets the size of the cached area for the memory reference code. 405f7d35bc1SSimon Glass This ends at the end of SPI flash (address 0xffffffff) and is 406f7d35bc1SSimon Glass measured in KB. Typically this is set to 512, providing for 0.5MB 407f7d35bc1SSimon Glass of cached space. 408f7d35bc1SSimon Glass 409f7d35bc1SSimon Glassconfig DCACHE_RAM_BASE 410f7d35bc1SSimon Glass hex 411f7d35bc1SSimon Glass depends on HAVE_MRC 412f7d35bc1SSimon Glass help 413f7d35bc1SSimon Glass Sets the base of the data cache area in memory space. This is the 414f7d35bc1SSimon Glass start address of the cache-as-RAM (CAR) area and the address varies 415f7d35bc1SSimon Glass depending on the CPU. Once CAR is set up, read/write memory becomes 416f7d35bc1SSimon Glass available at this address and can be used temporarily until SDRAM 417f7d35bc1SSimon Glass is working. 418f7d35bc1SSimon Glass 419f7d35bc1SSimon Glassconfig DCACHE_RAM_SIZE 420f7d35bc1SSimon Glass hex 421f7d35bc1SSimon Glass depends on HAVE_MRC 422f7d35bc1SSimon Glass default 0x40000 423f7d35bc1SSimon Glass help 424f7d35bc1SSimon Glass Sets the total size of the data cache area in memory space. This 425f7d35bc1SSimon Glass sets the size of the cache-as-RAM (CAR) area. Note that much of the 426f7d35bc1SSimon Glass CAR space is required by the MRC. The CAR space available to U-Boot 427f7d35bc1SSimon Glass is normally at the start and typically extends to 1/4 or 1/2 of the 428f7d35bc1SSimon Glass available size. 429f7d35bc1SSimon Glass 430f7d35bc1SSimon Glassconfig DCACHE_RAM_MRC_VAR_SIZE 431f7d35bc1SSimon Glass hex 432f7d35bc1SSimon Glass depends on HAVE_MRC 433f7d35bc1SSimon Glass help 434f7d35bc1SSimon Glass This is the amount of CAR (Cache as RAM) reserved for use by the 435f7d35bc1SSimon Glass memory reference code. This depends on the implementation of the 436f7d35bc1SSimon Glass memory reference code and must be set correctly or the board will 437f7d35bc1SSimon Glass not boot. 438f7d35bc1SSimon Glass 4390adf8d35SSimon Glassconfig HAVE_REFCODE 4400adf8d35SSimon Glass bool "Add a Reference Code binary" 4410adf8d35SSimon Glass help 4420adf8d35SSimon Glass Select this option to add a Reference Code binary to the resulting 4430adf8d35SSimon Glass U-Boot image. This is an Intel binary blob that handles system 4440adf8d35SSimon Glass initialisation, in this case the PCH and System Agent. 4450adf8d35SSimon Glass 4460adf8d35SSimon Glass Note: Without this binary (on platforms that need it such as 4470adf8d35SSimon Glass broadwell) U-Boot will be missing some critical setup steps. 4480adf8d35SSimon Glass Various peripherals may fail to work. 4490adf8d35SSimon Glass 4504c71322bSBin Mengconfig SMP 4514c71322bSBin Meng bool "Enable Symmetric Multiprocessing" 4524c71322bSBin Meng default n 4534c71322bSBin Meng help 4544c71322bSBin Meng Enable use of more than one CPU in U-Boot and the Operating System 4554c71322bSBin Meng when loaded. Each CPU will be started up and information can be 4564c71322bSBin Meng obtained using the 'cpu' command. If this option is disabled, then 4574c71322bSBin Meng only one CPU will be enabled regardless of the number of CPUs 4584c71322bSBin Meng available. 4594c71322bSBin Meng 46045b5a378SSimon Glassconfig MAX_CPUS 46145b5a378SSimon Glass int "Maximum number of CPUs permitted" 462063374d2SBin Meng depends on SMP 46345b5a378SSimon Glass default 4 46445b5a378SSimon Glass help 46545b5a378SSimon Glass When using multi-CPU chips it is possible for U-Boot to start up 46645b5a378SSimon Glass more than one CPU. The stack memory used by all of these CPUs is 46745b5a378SSimon Glass pre-allocated so at present U-Boot wants to know the maximum 46845b5a378SSimon Glass number of CPUs that may be present. Set this to at least as high 46945b5a378SSimon Glass as the number of CPUs in your system (it uses about 4KB of RAM for 47045b5a378SSimon Glass each CPU). 47145b5a378SSimon Glass 47245b5a378SSimon Glassconfig AP_STACK_SIZE 47345b5a378SSimon Glass hex 474063374d2SBin Meng depends on SMP 47545b5a378SSimon Glass default 0x1000 47645b5a378SSimon Glass help 47745b5a378SSimon Glass Each additional CPU started by U-Boot requires its own stack. This 47845b5a378SSimon Glass option sets the stack size used by each CPU and directly affects 47945b5a378SSimon Glass the memory used by this initialisation process. Typically 4KB is 48045b5a378SSimon Glass enough space. 48145b5a378SSimon Glass 482786a08e0SBin Mengconfig HAVE_VGA_BIOS 483786a08e0SBin Meng bool "Add a VGA BIOS image" 484786a08e0SBin Meng help 485786a08e0SBin Meng Select this option if you have a VGA BIOS image that you would 486786a08e0SBin Meng like to add to your ROM. 487786a08e0SBin Meng 488786a08e0SBin Mengconfig VGA_BIOS_FILE 489786a08e0SBin Meng string "VGA BIOS image filename" 490786a08e0SBin Meng depends on HAVE_VGA_BIOS 491786a08e0SBin Meng default "vga.bin" 492786a08e0SBin Meng help 493786a08e0SBin Meng The filename of the VGA BIOS image in the board directory. 494786a08e0SBin Meng 495786a08e0SBin Mengconfig VGA_BIOS_ADDR 496786a08e0SBin Meng hex "VGA BIOS image location" 497786a08e0SBin Meng depends on HAVE_VGA_BIOS 498786a08e0SBin Meng default 0xfff90000 499786a08e0SBin Meng help 500786a08e0SBin Meng The location of VGA BIOS image in the SPI flash. For example, base 501786a08e0SBin Meng address of 0xfff90000 indicates that the image will be put at offset 502786a08e0SBin Meng 0x90000 from the beginning of a 1MB flash device. 503786a08e0SBin Meng 504b5b6b019SBin Mengmenu "System tables" 5058744bef5SBin Meng depends on !EFI && !SYS_COREBOOT 506b5b6b019SBin Meng 507b5b6b019SBin Mengconfig GENERATE_PIRQ_TABLE 508b5b6b019SBin Meng bool "Generate a PIRQ table" 509b5b6b019SBin Meng default n 510b5b6b019SBin Meng help 511b5b6b019SBin Meng Generate a PIRQ routing table for this board. The PIRQ routing table 512b5b6b019SBin Meng is generated by U-Boot in the system memory from 0xf0000 to 0xfffff 513b5b6b019SBin Meng at every 16-byte boundary with a PCI IRQ routing signature ("$PIR"). 514b5b6b019SBin Meng It specifies the interrupt router information as well how all the PCI 515b5b6b019SBin Meng devices' interrupt pins are wired to PIRQs. 516b5b6b019SBin Meng 5176388e357SSimon Glassconfig GENERATE_SFI_TABLE 5186388e357SSimon Glass bool "Generate a SFI (Simple Firmware Interface) table" 5196388e357SSimon Glass help 5206388e357SSimon Glass The Simple Firmware Interface (SFI) provides a lightweight method 5216388e357SSimon Glass for platform firmware to pass information to the operating system 5226388e357SSimon Glass via static tables in memory. Kernel SFI support is required to 5236388e357SSimon Glass boot on SFI-only platforms. If you have ACPI tables then these are 5246388e357SSimon Glass used instead. 5256388e357SSimon Glass 5266388e357SSimon Glass U-Boot writes this table in write_sfi_table() just before booting 5276388e357SSimon Glass the OS. 5286388e357SSimon Glass 5296388e357SSimon Glass For more information, see http://simplefirmware.org 5306388e357SSimon Glass 53107545d86SBin Mengconfig GENERATE_MP_TABLE 53207545d86SBin Meng bool "Generate an MP (Multi-Processor) table" 53307545d86SBin Meng default n 53407545d86SBin Meng help 53507545d86SBin Meng Generate an MP (Multi-Processor) table for this board. The MP table 53607545d86SBin Meng provides a way for the operating system to support for symmetric 53707545d86SBin Meng multiprocessing as well as symmetric I/O interrupt handling with 53807545d86SBin Meng the local APIC and I/O APIC. 53907545d86SBin Meng 540867bcb63SSaket Sinhaconfig GENERATE_ACPI_TABLE 541867bcb63SSaket Sinha bool "Generate an ACPI (Advanced Configuration and Power Interface) table" 542867bcb63SSaket Sinha default n 543fcf5c041SMiao Yan select QFW if QEMU 544867bcb63SSaket Sinha help 545867bcb63SSaket Sinha The Advanced Configuration and Power Interface (ACPI) specification 546867bcb63SSaket Sinha provides an open standard for device configuration and management 547867bcb63SSaket Sinha by the operating system. It defines platform-independent interfaces 548867bcb63SSaket Sinha for configuration and power management monitoring. 549867bcb63SSaket Sinha 550b5b6b019SBin Mengendmenu 551b5b6b019SBin Meng 552b5b6b019SBin Mengconfig MAX_PIRQ_LINKS 553b5b6b019SBin Meng int 554b5b6b019SBin Meng default 8 555b5b6b019SBin Meng help 556b5b6b019SBin Meng This variable specifies the number of PIRQ interrupt links which are 557b5b6b019SBin Meng routable. On most older chipsets, this is 4, PIRQA through PIRQD. 558b5b6b019SBin Meng Some newer chipsets offer more than four links, commonly up to PIRQH. 559b5b6b019SBin Meng 560b5b6b019SBin Mengconfig IRQ_SLOT_COUNT 561b5b6b019SBin Meng int 562b5b6b019SBin Meng default 128 563b5b6b019SBin Meng help 564b5b6b019SBin Meng U-Boot can support up to 254 IRQ slot info in the PIRQ routing table 565b5b6b019SBin Meng which in turns forms a table of exact 4KiB. The default value 128 566b5b6b019SBin Meng should be enough for most boards. If this does not fit your board, 567b5b6b019SBin Meng change it according to your needs. 568b5b6b019SBin Meng 5692d934e57SSimon Glassconfig PCIE_ECAM_BASE 5702d934e57SSimon Glass hex 5712d934e57SSimon Glass default 0xe0000000 5722d934e57SSimon Glass help 5732d934e57SSimon Glass This is the memory-mapped address of PCI configuration space, which 5742d934e57SSimon Glass is only available through the Enhanced Configuration Access 5752d934e57SSimon Glass Mechanism (ECAM) with PCI Express. It can be set up almost 5762d934e57SSimon Glass anywhere. Before it is set up, it is possible to access PCI 5772d934e57SSimon Glass configuration space through I/O access, but memory access is more 5782d934e57SSimon Glass convenient. Using this, PCI can be scanned and configured. This 5792d934e57SSimon Glass should be set to a region that does not conflict with memory 5802d934e57SSimon Glass assigned to PCI devices - i.e. the memory and prefetch regions, as 5812d934e57SSimon Glass passed to pci_set_region(). 5822d934e57SSimon Glass 5831ed6648bSBin Mengconfig PCIE_ECAM_SIZE 5841ed6648bSBin Meng hex 5851ed6648bSBin Meng default 0x10000000 5861ed6648bSBin Meng help 5871ed6648bSBin Meng This is the size of memory-mapped address of PCI configuration space, 5881ed6648bSBin Meng which is only available through the Enhanced Configuration Access 5891ed6648bSBin Meng Mechanism (ECAM) with PCI Express. Each bus consumes 1 MiB memory, 5901ed6648bSBin Meng so a default 0x10000000 size covers all of the 256 buses which is the 5911ed6648bSBin Meng maximum number of PCI buses as defined by the PCI specification. 5921ed6648bSBin Meng 5931eb39a50SBin Mengconfig I8259_PIC 5941eb39a50SBin Meng bool 5951eb39a50SBin Meng default y 5961eb39a50SBin Meng help 5971eb39a50SBin Meng Intel 8259 ISA compatible chipset incorporates two 8259 (master and 5981eb39a50SBin Meng slave) interrupt controllers. Include this to have U-Boot set up 5991eb39a50SBin Meng the interrupt correctly. 6001eb39a50SBin Meng 6011eb39a50SBin Mengconfig I8254_TIMER 6021eb39a50SBin Meng bool 6031eb39a50SBin Meng default y 6041eb39a50SBin Meng help 6051eb39a50SBin Meng Intel 8254 timer contains three counters which have fixed uses. 6061eb39a50SBin Meng Include this to have U-Boot set up the timer correctly. 6071eb39a50SBin Meng 6083cf23719SBin Mengconfig SEABIOS 6093cf23719SBin Meng bool "Support booting SeaBIOS" 6103cf23719SBin Meng help 6113cf23719SBin Meng SeaBIOS is an open source implementation of a 16-bit X86 BIOS. 6123cf23719SBin Meng It can run in an emulator or natively on X86 hardware with the use 6133cf23719SBin Meng of coreboot/U-Boot. By turning on this option, U-Boot prepares 6143cf23719SBin Meng all the configuration tables that are necessary to boot SeaBIOS. 6153cf23719SBin Meng 6163cf23719SBin Meng Check http://www.seabios.org/SeaBIOS for details. 6173cf23719SBin Meng 618789b6dceSBin Mengconfig HIGH_TABLE_SIZE 619789b6dceSBin Meng hex "Size of configuration tables which reside in high memory" 620789b6dceSBin Meng default 0x10000 621789b6dceSBin Meng depends on SEABIOS 622789b6dceSBin Meng help 623789b6dceSBin Meng SeaBIOS itself resides in E seg and F seg, where U-Boot puts all 624789b6dceSBin Meng configuration tables like PIRQ/MP/ACPI. To avoid conflicts, U-Boot 625789b6dceSBin Meng puts a copy of configuration tables in high memory region which 626789b6dceSBin Meng is reserved on the stack before relocation. The region size is 627789b6dceSBin Meng determined by this option. 628789b6dceSBin Meng 629789b6dceSBin Meng Increse it if the default size does not fit the board's needs. 630789b6dceSBin Meng This is most likely due to a large ACPI DSDT table is used. 631789b6dceSBin Meng 632e49cceacSSimon Glasssource "arch/x86/lib/efi/Kconfig" 633e49cceacSSimon Glass 634dd84058dSMasahiro Yamadaendmenu 635