2015-03-15 04:29:35 +01:00
|
|
|
##
|
2020-03-04 15:10:45 +01:00
|
|
|
## SPDX-License-Identifier: GPL-2.0-only
|
2015-03-15 04:29:35 +01:00
|
|
|
## This file is part of the coreboot project.
|
|
|
|
##
|
|
|
|
|
2015-04-04 01:58:28 +02:00
|
|
|
config ARCH_X86
|
|
|
|
bool
|
|
|
|
select PCI
|
2018-06-03 21:48:51 +02:00
|
|
|
select RELOCATABLE_MODULES
|
2015-04-04 01:58:28 +02:00
|
|
|
|
2015-03-15 04:34:03 +01:00
|
|
|
# stage selectors for x86
|
|
|
|
|
Introduce stage-specific architecture for coreboot
Make all three coreboot stages (bootblock, romstage and ramstage) aware of the
architecture specific to that stage i.e. we will have CONFIG_ARCH variables for
each of the three stages. This allows us to have an SOC with any combination of
architectures and thus every stage can be made to run on a completely different
architecture independent of others. Thus, bootblock can have an x86 arch whereas
romstage and ramstage can have arm32 and arm64 arch respectively. These stage
specific CONFIG_ARCH_ variables enable us to select the proper set of toolchain
and compiler flags for every stage.
These options can be considered as either arch or modes eg: x86 running in
different modes or ARM having different arch types (v4, v7, v8). We have got rid
of the original CONFIG_ARCH option completely as every stage can have any
architecture of its own. Thus, almost all the components of coreboot are
identified as being part of one of the three stages (bootblock, romstage or
ramstage). The components which cannot be classified as such e.g. smm, rmodules
can have their own compiler toolset which is for now set to *_i386. Hence, all
special classes are treated in a similar way and the compiler toolset is defined
using create_class_compiler defined in Makefile.
In order to meet these requirements, changes have been made to CC, LD, OBJCOPY
and family to add CC_bootblock, CC_romstage, CC_ramstage and similarly others.
Additionally, CC_x86_32 and CC_armv7 handle all the special classes. All the
toolsets are defined using create_class_compiler.
Few additional macros have been introduced to identify the class to be used at
various points, e.g.: CC_$(class) derives the $(class) part from the name of
the stage being compiled.
We have also got rid of COREBOOT_COMPILER, COREBOOT_ASSEMBLER and COREBOOT_LINKER
as they do not make any sense for coreboot as a whole. All these attributes are
associated with each of the stages.
Change-Id: I923f3d4fb097d21071030b104c372cc138c68c7b
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: http://review.coreboot.org/5577
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@gmail.com>
2014-04-23 19:18:48 +02:00
|
|
|
config ARCH_BOOTBLOCK_X86_32
|
2013-07-07 22:52:37 +02:00
|
|
|
bool
|
Introduce stage-specific architecture for coreboot
Make all three coreboot stages (bootblock, romstage and ramstage) aware of the
architecture specific to that stage i.e. we will have CONFIG_ARCH variables for
each of the three stages. This allows us to have an SOC with any combination of
architectures and thus every stage can be made to run on a completely different
architecture independent of others. Thus, bootblock can have an x86 arch whereas
romstage and ramstage can have arm32 and arm64 arch respectively. These stage
specific CONFIG_ARCH_ variables enable us to select the proper set of toolchain
and compiler flags for every stage.
These options can be considered as either arch or modes eg: x86 running in
different modes or ARM having different arch types (v4, v7, v8). We have got rid
of the original CONFIG_ARCH option completely as every stage can have any
architecture of its own. Thus, almost all the components of coreboot are
identified as being part of one of the three stages (bootblock, romstage or
ramstage). The components which cannot be classified as such e.g. smm, rmodules
can have their own compiler toolset which is for now set to *_i386. Hence, all
special classes are treated in a similar way and the compiler toolset is defined
using create_class_compiler defined in Makefile.
In order to meet these requirements, changes have been made to CC, LD, OBJCOPY
and family to add CC_bootblock, CC_romstage, CC_ramstage and similarly others.
Additionally, CC_x86_32 and CC_armv7 handle all the special classes. All the
toolsets are defined using create_class_compiler.
Few additional macros have been introduced to identify the class to be used at
various points, e.g.: CC_$(class) derives the $(class) part from the name of
the stage being compiled.
We have also got rid of COREBOOT_COMPILER, COREBOOT_ASSEMBLER and COREBOOT_LINKER
as they do not make any sense for coreboot as a whole. All these attributes are
associated with each of the stages.
Change-Id: I923f3d4fb097d21071030b104c372cc138c68c7b
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: http://review.coreboot.org/5577
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@gmail.com>
2014-04-23 19:18:48 +02:00
|
|
|
select ARCH_X86
|
|
|
|
|
2015-01-14 19:51:47 +01:00
|
|
|
config ARCH_VERSTAGE_X86_32
|
|
|
|
bool
|
2019-02-10 17:00:56 +01:00
|
|
|
select ARCH_X86
|
2015-01-14 19:51:47 +01:00
|
|
|
|
Introduce stage-specific architecture for coreboot
Make all three coreboot stages (bootblock, romstage and ramstage) aware of the
architecture specific to that stage i.e. we will have CONFIG_ARCH variables for
each of the three stages. This allows us to have an SOC with any combination of
architectures and thus every stage can be made to run on a completely different
architecture independent of others. Thus, bootblock can have an x86 arch whereas
romstage and ramstage can have arm32 and arm64 arch respectively. These stage
specific CONFIG_ARCH_ variables enable us to select the proper set of toolchain
and compiler flags for every stage.
These options can be considered as either arch or modes eg: x86 running in
different modes or ARM having different arch types (v4, v7, v8). We have got rid
of the original CONFIG_ARCH option completely as every stage can have any
architecture of its own. Thus, almost all the components of coreboot are
identified as being part of one of the three stages (bootblock, romstage or
ramstage). The components which cannot be classified as such e.g. smm, rmodules
can have their own compiler toolset which is for now set to *_i386. Hence, all
special classes are treated in a similar way and the compiler toolset is defined
using create_class_compiler defined in Makefile.
In order to meet these requirements, changes have been made to CC, LD, OBJCOPY
and family to add CC_bootblock, CC_romstage, CC_ramstage and similarly others.
Additionally, CC_x86_32 and CC_armv7 handle all the special classes. All the
toolsets are defined using create_class_compiler.
Few additional macros have been introduced to identify the class to be used at
various points, e.g.: CC_$(class) derives the $(class) part from the name of
the stage being compiled.
We have also got rid of COREBOOT_COMPILER, COREBOOT_ASSEMBLER and COREBOOT_LINKER
as they do not make any sense for coreboot as a whole. All these attributes are
associated with each of the stages.
Change-Id: I923f3d4fb097d21071030b104c372cc138c68c7b
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: http://review.coreboot.org/5577
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@gmail.com>
2014-04-23 19:18:48 +02:00
|
|
|
config ARCH_ROMSTAGE_X86_32
|
|
|
|
bool
|
2019-02-10 17:00:56 +01:00
|
|
|
select ARCH_X86
|
Introduce stage-specific architecture for coreboot
Make all three coreboot stages (bootblock, romstage and ramstage) aware of the
architecture specific to that stage i.e. we will have CONFIG_ARCH variables for
each of the three stages. This allows us to have an SOC with any combination of
architectures and thus every stage can be made to run on a completely different
architecture independent of others. Thus, bootblock can have an x86 arch whereas
romstage and ramstage can have arm32 and arm64 arch respectively. These stage
specific CONFIG_ARCH_ variables enable us to select the proper set of toolchain
and compiler flags for every stage.
These options can be considered as either arch or modes eg: x86 running in
different modes or ARM having different arch types (v4, v7, v8). We have got rid
of the original CONFIG_ARCH option completely as every stage can have any
architecture of its own. Thus, almost all the components of coreboot are
identified as being part of one of the three stages (bootblock, romstage or
ramstage). The components which cannot be classified as such e.g. smm, rmodules
can have their own compiler toolset which is for now set to *_i386. Hence, all
special classes are treated in a similar way and the compiler toolset is defined
using create_class_compiler defined in Makefile.
In order to meet these requirements, changes have been made to CC, LD, OBJCOPY
and family to add CC_bootblock, CC_romstage, CC_ramstage and similarly others.
Additionally, CC_x86_32 and CC_armv7 handle all the special classes. All the
toolsets are defined using create_class_compiler.
Few additional macros have been introduced to identify the class to be used at
various points, e.g.: CC_$(class) derives the $(class) part from the name of
the stage being compiled.
We have also got rid of COREBOOT_COMPILER, COREBOOT_ASSEMBLER and COREBOOT_LINKER
as they do not make any sense for coreboot as a whole. All these attributes are
associated with each of the stages.
Change-Id: I923f3d4fb097d21071030b104c372cc138c68c7b
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: http://review.coreboot.org/5577
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@gmail.com>
2014-04-23 19:18:48 +02:00
|
|
|
|
2018-10-31 14:24:47 +01:00
|
|
|
config ARCH_POSTCAR_X86_32
|
|
|
|
bool
|
|
|
|
default ARCH_ROMSTAGE_X86_32 && POSTCAR_STAGE
|
|
|
|
|
Introduce stage-specific architecture for coreboot
Make all three coreboot stages (bootblock, romstage and ramstage) aware of the
architecture specific to that stage i.e. we will have CONFIG_ARCH variables for
each of the three stages. This allows us to have an SOC with any combination of
architectures and thus every stage can be made to run on a completely different
architecture independent of others. Thus, bootblock can have an x86 arch whereas
romstage and ramstage can have arm32 and arm64 arch respectively. These stage
specific CONFIG_ARCH_ variables enable us to select the proper set of toolchain
and compiler flags for every stage.
These options can be considered as either arch or modes eg: x86 running in
different modes or ARM having different arch types (v4, v7, v8). We have got rid
of the original CONFIG_ARCH option completely as every stage can have any
architecture of its own. Thus, almost all the components of coreboot are
identified as being part of one of the three stages (bootblock, romstage or
ramstage). The components which cannot be classified as such e.g. smm, rmodules
can have their own compiler toolset which is for now set to *_i386. Hence, all
special classes are treated in a similar way and the compiler toolset is defined
using create_class_compiler defined in Makefile.
In order to meet these requirements, changes have been made to CC, LD, OBJCOPY
and family to add CC_bootblock, CC_romstage, CC_ramstage and similarly others.
Additionally, CC_x86_32 and CC_armv7 handle all the special classes. All the
toolsets are defined using create_class_compiler.
Few additional macros have been introduced to identify the class to be used at
various points, e.g.: CC_$(class) derives the $(class) part from the name of
the stage being compiled.
We have also got rid of COREBOOT_COMPILER, COREBOOT_ASSEMBLER and COREBOOT_LINKER
as they do not make any sense for coreboot as a whole. All these attributes are
associated with each of the stages.
Change-Id: I923f3d4fb097d21071030b104c372cc138c68c7b
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: http://review.coreboot.org/5577
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@gmail.com>
2014-04-23 19:18:48 +02:00
|
|
|
config ARCH_RAMSTAGE_X86_32
|
|
|
|
bool
|
2019-02-10 17:00:56 +01:00
|
|
|
select ARCH_X86
|
2013-07-07 22:52:37 +02:00
|
|
|
|
2015-03-15 04:34:03 +01:00
|
|
|
# stage selectors for x64
|
|
|
|
|
|
|
|
config ARCH_BOOTBLOCK_X86_64
|
|
|
|
bool
|
|
|
|
select ARCH_X86
|
|
|
|
|
|
|
|
config ARCH_VERSTAGE_X86_64
|
|
|
|
bool
|
2019-02-10 17:00:56 +01:00
|
|
|
select ARCH_X86
|
2015-03-15 04:34:03 +01:00
|
|
|
|
|
|
|
config ARCH_ROMSTAGE_X86_64
|
|
|
|
bool
|
2019-02-10 17:00:56 +01:00
|
|
|
select ARCH_X86
|
2015-03-15 04:34:03 +01:00
|
|
|
|
2018-10-31 14:24:47 +01:00
|
|
|
config ARCH_POSTCAR_X86_64
|
|
|
|
bool
|
|
|
|
default ARCH_ROMSTAGE_X86_64 && POSTCAR_STAGE
|
|
|
|
|
2015-03-15 04:34:03 +01:00
|
|
|
config ARCH_RAMSTAGE_X86_64
|
|
|
|
bool
|
2019-02-10 17:00:56 +01:00
|
|
|
select ARCH_X86
|
|
|
|
|
|
|
|
if ARCH_X86
|
2015-03-15 04:34:03 +01:00
|
|
|
|
2019-09-28 17:44:01 +02:00
|
|
|
config ARCH_X86_64_PGTBL_LOC
|
|
|
|
hex "x86_64 page table location in CBFS"
|
|
|
|
depends on ARCH_BOOTBLOCK_X86_64
|
|
|
|
default 0xfffea000
|
|
|
|
help
|
|
|
|
The position where to place pagetables. Needs to be known at
|
|
|
|
compile time. Must not overlap other files in CBFS.
|
|
|
|
|
2016-02-02 01:33:37 +01:00
|
|
|
config USE_MARCH_586
|
|
|
|
def_bool n
|
|
|
|
help
|
|
|
|
Allow a platform or processor to select to be compiled using
|
|
|
|
the '-march=i586' option instead of the typical '-march=i686'
|
|
|
|
|
2009-10-07 18:15:40 +02:00
|
|
|
# This is an SMP option. It relates to starting up APs.
|
|
|
|
# It is usually set in mainboard/*/Kconfig.
|
|
|
|
# TODO: Improve description.
|
2012-07-29 19:18:03 +02:00
|
|
|
config AP_IN_SIPI_WAIT
|
|
|
|
bool
|
|
|
|
default n
|
2012-10-15 22:38:09 +02:00
|
|
|
depends on ARCH_X86 && SMP
|
2009-08-29 04:59:35 +02:00
|
|
|
|
2019-11-02 00:30:05 +01:00
|
|
|
config X86_RESET_VECTOR
|
|
|
|
hex
|
|
|
|
depends on ARCH_X86
|
|
|
|
default 0xfffffff0
|
|
|
|
help
|
|
|
|
Specify the location of the x86 reset vector. In traditional devices
|
|
|
|
this must match the architectural reset vector to produce a bootable
|
|
|
|
image. Nontraditional designs may use this to position the reset
|
|
|
|
vector into its desired location.
|
|
|
|
|
2019-04-23 00:26:23 +02:00
|
|
|
config RESET_VECTOR_IN_RAM
|
|
|
|
bool
|
|
|
|
depends on ARCH_X86
|
|
|
|
help
|
|
|
|
Select this option if the x86 soc implements custom code to handle the
|
|
|
|
reset vector in RAM instead of the traditional 0xfffffff0 location.
|
|
|
|
|
2012-04-06 03:03:50 +02:00
|
|
|
# Aligns 16bit entry code in bootblock so that hyper-threading CPUs
|
|
|
|
# can boot AP CPUs to enable their shared caches.
|
|
|
|
config SIPI_VECTOR_IN_ROM
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
depends on ARCH_X86
|
|
|
|
|
2018-09-16 18:59:54 +02:00
|
|
|
# Set the rambase for systems that still need it, only 5 chipsets as of
|
|
|
|
# Sep 2018. This value was 0x100000, chosen to match the entry point
|
|
|
|
# of Linux 2.2 in 1999. The new value, 14 MiB, makes a lot more sense
|
|
|
|
# for as long as we need it; with luck, that won't be much longer.
|
|
|
|
# In the long term, both RAMBASE and RAMTOP should be removed.
|
|
|
|
# This value leaves more than 1 MiB which is required for fam10
|
|
|
|
# and broadwell_de.
|
2009-08-12 17:00:51 +02:00
|
|
|
config RAMBASE
|
|
|
|
hex
|
2018-09-16 18:59:54 +02:00
|
|
|
default 0xe00000
|
2009-08-12 17:00:51 +02:00
|
|
|
|
2016-06-15 01:25:00 +02:00
|
|
|
config RAMTOP
|
|
|
|
hex
|
2018-09-16 18:59:54 +02:00
|
|
|
default 0x1000000
|
2016-06-15 01:25:00 +02:00
|
|
|
depends on ARCH_X86
|
|
|
|
|
2015-10-27 18:27:30 +01:00
|
|
|
# Traditionally BIOS region on SPI flash boot media was memory mapped right below
|
|
|
|
# 4G and it was the last region in the IFD. This way translation between CPU
|
|
|
|
# address space to flash address was trivial. However some IFDs on newer SoCs
|
|
|
|
# have BIOS region sandwiched between descriptor and other regions. Turning off
|
|
|
|
# this option enables soc code to provide custom mmap_boot.c which can be used to
|
|
|
|
# implement complex translation.
|
|
|
|
config X86_TOP4G_BOOTMEDIA_MAP
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
2013-07-22 20:17:18 +02:00
|
|
|
# This is something you almost certainly don't want to mess with.
|
|
|
|
# How many SIPIs do we send when starting up APs and cores?
|
|
|
|
# The answer in 2000 or so was '2'. Nowadays, on many systems,
|
|
|
|
# it is 1. Set a safe default here, and you can override it
|
|
|
|
# on reasonable platforms.
|
|
|
|
config NUM_IPI_STARTS
|
|
|
|
int
|
|
|
|
default 2
|
|
|
|
|
2017-04-19 06:37:38 +02:00
|
|
|
config CBMEM_TOP_BACKUP
|
|
|
|
def_bool n
|
|
|
|
help
|
|
|
|
Platform implements non-volatile storage to cache cbmem_top()
|
|
|
|
over stage transitions and optionally also over S3 suspend.
|
|
|
|
|
2016-12-13 16:46:46 +01:00
|
|
|
config PRERAM_CBMEM_CONSOLE_SIZE
|
|
|
|
hex
|
|
|
|
default 0xc00
|
|
|
|
help
|
|
|
|
Increase this value if preram cbmem console is getting truncated
|
|
|
|
|
2010-12-17 00:37:17 +01:00
|
|
|
config PC80_SYSTEM
|
|
|
|
bool
|
Introduce stage-specific architecture for coreboot
Make all three coreboot stages (bootblock, romstage and ramstage) aware of the
architecture specific to that stage i.e. we will have CONFIG_ARCH variables for
each of the three stages. This allows us to have an SOC with any combination of
architectures and thus every stage can be made to run on a completely different
architecture independent of others. Thus, bootblock can have an x86 arch whereas
romstage and ramstage can have arm32 and arm64 arch respectively. These stage
specific CONFIG_ARCH_ variables enable us to select the proper set of toolchain
and compiler flags for every stage.
These options can be considered as either arch or modes eg: x86 running in
different modes or ARM having different arch types (v4, v7, v8). We have got rid
of the original CONFIG_ARCH option completely as every stage can have any
architecture of its own. Thus, almost all the components of coreboot are
identified as being part of one of the three stages (bootblock, romstage or
ramstage). The components which cannot be classified as such e.g. smm, rmodules
can have their own compiler toolset which is for now set to *_i386. Hence, all
special classes are treated in a similar way and the compiler toolset is defined
using create_class_compiler defined in Makefile.
In order to meet these requirements, changes have been made to CC, LD, OBJCOPY
and family to add CC_bootblock, CC_romstage, CC_ramstage and similarly others.
Additionally, CC_x86_32 and CC_armv7 handle all the special classes. All the
toolsets are defined using create_class_compiler.
Few additional macros have been introduced to identify the class to be used at
various points, e.g.: CC_$(class) derives the $(class) part from the name of
the stage being compiled.
We have also got rid of COREBOOT_COMPILER, COREBOOT_ASSEMBLER and COREBOOT_LINKER
as they do not make any sense for coreboot as a whole. All these attributes are
associated with each of the stages.
Change-Id: I923f3d4fb097d21071030b104c372cc138c68c7b
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: http://review.coreboot.org/5577
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@gmail.com>
2014-04-23 19:18:48 +02:00
|
|
|
default y if ARCH_X86
|
2010-12-17 00:37:17 +01:00
|
|
|
|
2016-06-07 17:45:17 +02:00
|
|
|
config BOOTBLOCK_DEBUG_SPINLOOP
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Add a spin (JMP .) in bootblock_crt0.S during early bootblock to wait
|
|
|
|
for a JTAG debugger to break into the execution sequence.
|
|
|
|
|
2011-01-14 08:40:24 +01:00
|
|
|
config HAVE_CMOS_DEFAULT
|
|
|
|
def_bool n
|
2016-11-16 23:45:22 +01:00
|
|
|
depends on HAVE_OPTION_TABLE
|
2011-01-14 08:40:24 +01:00
|
|
|
|
|
|
|
config CMOS_DEFAULT_FILE
|
|
|
|
string
|
2013-05-28 13:46:12 +02:00
|
|
|
default "src/mainboard/$(MAINBOARDDIR)/cmos.default"
|
2011-01-14 08:40:24 +01:00
|
|
|
depends on HAVE_CMOS_DEFAULT
|
|
|
|
|
2012-03-16 19:28:15 +01:00
|
|
|
config IOAPIC_INTERRUPTS_ON_FSB
|
|
|
|
bool
|
|
|
|
default y if !IOAPIC_INTERRUPTS_ON_APIC_SERIAL_BUS
|
|
|
|
|
|
|
|
config IOAPIC_INTERRUPTS_ON_APIC_SERIAL_BUS
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2018-05-24 08:56:11 +02:00
|
|
|
config HPET_ADDRESS_OVERRIDE
|
|
|
|
def_bool n
|
|
|
|
|
2012-10-05 21:54:38 +02:00
|
|
|
config HPET_ADDRESS
|
|
|
|
hex
|
|
|
|
default 0xfed00000 if !HPET_ADDRESS_OVERRIDE
|
|
|
|
|
2012-11-14 00:04:12 +01:00
|
|
|
config ID_SECTION_OFFSET
|
|
|
|
hex
|
|
|
|
default 0x80
|
2015-06-22 21:10:34 +02:00
|
|
|
|
2019-11-22 21:01:30 +01:00
|
|
|
# 64KiB default bootblock size
|
2016-02-11 21:36:19 +01:00
|
|
|
config C_ENV_BOOTBLOCK_SIZE
|
|
|
|
hex
|
|
|
|
default 0x10000
|
2016-02-29 07:04:51 +01:00
|
|
|
|
|
|
|
# Default address romstage is to be linked at
|
|
|
|
config ROMSTAGE_ADDR
|
|
|
|
hex
|
|
|
|
default 0x2000000
|
|
|
|
|
|
|
|
# Default address verstage is to be linked at
|
|
|
|
config VERSTAGE_ADDR
|
|
|
|
hex
|
|
|
|
default 0x2000000
|
2016-03-18 18:21:23 +01:00
|
|
|
|
|
|
|
# Use the post CAR infrastructure for tearing down cache-as-ram
|
2016-07-29 07:40:41 +02:00
|
|
|
# from a program loaded in RAM and subsequently loading ramstage.
|
2016-03-18 18:21:23 +01:00
|
|
|
config POSTCAR_STAGE
|
2019-08-09 06:11:07 +02:00
|
|
|
def_bool y
|
|
|
|
depends on ARCH_X86
|
2016-06-08 22:40:08 +02:00
|
|
|
|
|
|
|
config VERSTAGE_DEBUG_SPINLOOP
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Add a spin (JMP .) in assembly_entry.S during early verstage to wait
|
|
|
|
for a JTAG debugger to break into the execution sequence.
|
|
|
|
|
|
|
|
config ROMSTAGE_DEBUG_SPINLOOP
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Add a spin (JMP .) in assembly_entry.S during early romstage to wait
|
|
|
|
for a JTAG debugger to break into the execution sequence.
|
2016-12-16 00:04:55 +01:00
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Bootblock behaviour"
|
|
|
|
default BOOTBLOCK_SIMPLE
|
2019-12-16 15:00:49 +01:00
|
|
|
depends on !VBOOT
|
2016-12-16 00:04:55 +01:00
|
|
|
|
|
|
|
config BOOTBLOCK_SIMPLE
|
|
|
|
bool "Always load fallback"
|
|
|
|
|
|
|
|
config BOOTBLOCK_NORMAL
|
2019-06-08 11:28:52 +02:00
|
|
|
select CONFIGURABLE_CBFS_PREFIX
|
2016-12-16 00:04:55 +01:00
|
|
|
bool "Switch to normal if CMOS says so"
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config SKIP_MAX_REBOOT_CNT_CLEAR
|
|
|
|
bool "Do not clear reboot count after successful boot"
|
|
|
|
depends on BOOTBLOCK_NORMAL
|
|
|
|
help
|
|
|
|
Do not clear the reboot count immediately after successful boot.
|
|
|
|
Set to allow the payload to control normal/fallback image recovery.
|
|
|
|
Note that it is the responsibility of the payload to reset the
|
2019-01-08 16:21:31 +01:00
|
|
|
normal boot bit to 1 after each successful boot.
|
2017-08-26 02:54:23 +02:00
|
|
|
|
2018-11-24 18:25:50 +01:00
|
|
|
config ACPI_NO_PCAT_8259
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Selected by platforms that don't expose a PC/AT 8259 PIC pair.
|
|
|
|
|
|
|
|
config ACPI_HAVE_PCAT_8259
|
|
|
|
def_bool y if !ACPI_NO_PCAT_8259
|
|
|
|
|
2017-08-26 02:54:23 +02:00
|
|
|
config ACPI_CPU_STRING
|
|
|
|
string
|
2019-12-18 15:07:59 +01:00
|
|
|
default "\\_SB.CP%02d"
|
2017-08-26 02:54:23 +02:00
|
|
|
depends on HAVE_ACPI_TABLES
|
|
|
|
help
|
|
|
|
Sets the ACPI name string in the processor scope as written by
|
2019-12-18 15:07:59 +01:00
|
|
|
the acpigen function. Default is \_SB.CPxx. Note that you need
|
2017-08-26 02:54:23 +02:00
|
|
|
the \ escape character in the string.
|
2018-01-25 01:35:58 +01:00
|
|
|
|
|
|
|
config COLLECT_TIMESTAMPS_NO_TSC
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
depends on COLLECT_TIMESTAMPS
|
|
|
|
help
|
|
|
|
Use a non-TSC platform-dependent source for timestamps.
|
|
|
|
|
|
|
|
config COLLECT_TIMESTAMPS_TSC
|
|
|
|
bool
|
|
|
|
default y if !COLLECT_TIMESTAMPS_NO_TSC
|
|
|
|
default n
|
|
|
|
depends on COLLECT_TIMESTAMPS
|
|
|
|
help
|
|
|
|
Use the TSC as the timestamp source.
|
2018-04-18 09:00:27 +02:00
|
|
|
|
|
|
|
config PAGING_IN_CACHE_AS_RAM
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
depends on ARCH_X86
|
|
|
|
help
|
|
|
|
Chipsets scan select this option to preallocate area in cache-as-ram
|
|
|
|
for storing paging data structures. PAE paging is currently the
|
|
|
|
only thing being supported.
|
|
|
|
|
|
|
|
config NUM_CAR_PAGE_TABLE_PAGES
|
|
|
|
int
|
|
|
|
default 5
|
|
|
|
depends on PAGING_IN_CACHE_AS_RAM
|
|
|
|
help
|
|
|
|
The number of 4KiB pages that should be pre-allocated for page tables.
|
2018-04-20 09:39:30 +02:00
|
|
|
|
|
|
|
# Provide the interrupt handlers to every stage. Not all
|
|
|
|
# stages may take advantage.
|
|
|
|
config IDT_IN_EVERY_STAGE
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
depends on ARCH_X86
|
2018-10-10 22:44:20 +02:00
|
|
|
|
|
|
|
config HAVE_CF9_RESET
|
|
|
|
bool
|
|
|
|
|
|
|
|
config HAVE_CF9_RESET_PREPARE
|
|
|
|
bool
|
|
|
|
depends on HAVE_CF9_RESET
|
2019-07-04 20:08:17 +02:00
|
|
|
|
|
|
|
config PIRQ_ROUTE
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config MAX_PIRQ_LINKS
|
|
|
|
int
|
|
|
|
default 4
|
|
|
|
depends on PIRQ_ROUTE
|
|
|
|
help
|
|
|
|
This variable specifies the number of PIRQ interrupt links which are
|
|
|
|
routable. On most chipsets, this is 4, INTA through INTD. Some
|
|
|
|
chipsets offer more than four links, commonly up to INTH. They may
|
|
|
|
also have a separate link for ATA or IOAPIC interrupts. When the PIRQ
|
|
|
|
table specifies links greater than 4, pirq_route_irqs will not
|
|
|
|
function properly, unless this variable is correctly set.
|
2019-02-10 17:00:56 +01:00
|
|
|
|
2020-03-18 02:32:54 +01:00
|
|
|
config MAX_ACPI_TABLE_SIZE_KB
|
|
|
|
int
|
|
|
|
default 144
|
|
|
|
help
|
|
|
|
Set the maximum size of all ACPI tables in KiB.
|
|
|
|
|
2019-02-10 17:00:56 +01:00
|
|
|
endif
|