2015-05-06 00:07:29 +02:00
|
|
|
config SOC_INTEL_BRASWELL
|
|
|
|
bool
|
|
|
|
help
|
2015-04-21 00:20:28 +02:00
|
|
|
Braswell M/D part support.
|
2015-05-06 00:07:29 +02:00
|
|
|
|
|
|
|
if SOC_INTEL_BRASWELL
|
|
|
|
|
|
|
|
config CPU_SPECIFIC_OPTIONS
|
|
|
|
def_bool y
|
2016-07-14 06:20:26 +02:00
|
|
|
select ACPI_INTEL_HARDWARE_SLEEP_VALUES
|
2015-05-06 00:07:29 +02:00
|
|
|
select ARCH_BOOTBLOCK_X86_32
|
|
|
|
select ARCH_RAMSTAGE_X86_32
|
2015-04-21 00:20:28 +02:00
|
|
|
select ARCH_ROMSTAGE_X86_32
|
|
|
|
select ARCH_VERSTAGE_X86_32
|
2016-08-12 22:00:10 +02:00
|
|
|
select BOOT_DEVICE_SUPPORTS_WRITES
|
2015-05-06 00:07:29 +02:00
|
|
|
select CACHE_MRC_SETTINGS
|
2016-06-18 06:39:31 +02:00
|
|
|
select CACHE_RELOCATED_RAMSTAGE_OUTSIDE_CBMEM
|
2015-05-06 00:07:29 +02:00
|
|
|
select COLLECT_TIMESTAMPS
|
2015-07-02 07:09:42 +02:00
|
|
|
select SUPPORT_CPU_UCODE_IN_CBFS
|
2018-11-29 17:05:32 +01:00
|
|
|
select MICROCODE_BLOB_NOT_IN_BLOB_REPO
|
2015-05-06 00:07:29 +02:00
|
|
|
select CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED
|
2015-04-21 00:20:28 +02:00
|
|
|
select HAVE_MONOTONIC_TIMER
|
2015-05-06 00:07:29 +02:00
|
|
|
select HAVE_SMI_HANDLER
|
2016-05-05 17:38:03 +02:00
|
|
|
select NO_FIXED_XIP_ROM_SIZE
|
2015-05-06 00:07:29 +02:00
|
|
|
select PARALLEL_MP
|
|
|
|
select PCIEXP_ASPM
|
2015-07-02 20:55:18 +02:00
|
|
|
select PCIEXP_CLK_PM
|
2015-05-06 00:07:29 +02:00
|
|
|
select PCIEXP_COMMON_CLOCK
|
2015-04-21 00:20:28 +02:00
|
|
|
select PLATFORM_USES_FSP1_1
|
2015-05-06 00:07:29 +02:00
|
|
|
select REG_SCRIPT
|
2016-08-06 04:23:37 +02:00
|
|
|
select RTC
|
2015-04-21 00:20:28 +02:00
|
|
|
select SOC_INTEL_COMMON
|
2015-09-09 01:16:34 +02:00
|
|
|
select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE
|
2019-02-28 15:16:00 +01:00
|
|
|
select SOC_INTEL_COMMON_BLOCK
|
|
|
|
select SOC_INTEL_COMMON_BLOCK_HDA
|
2015-04-21 00:20:28 +02:00
|
|
|
select SOC_INTEL_COMMON_RESET
|
2015-05-06 00:07:29 +02:00
|
|
|
select SMM_TSEG
|
|
|
|
select SMP
|
|
|
|
select SPI_FLASH
|
|
|
|
select SSE2
|
|
|
|
select TSC_CONSTANT_RATE
|
|
|
|
select TSC_MONOTONIC_TIMER
|
|
|
|
select TSC_SYNC_MFENCE
|
|
|
|
select UDELAY_TSC
|
2015-04-21 00:20:28 +02:00
|
|
|
select USE_GENERIC_FSP_CAR_INC
|
2018-09-06 00:34:28 +02:00
|
|
|
select INTEL_DESCRIPTOR_MODE_CAPABLE
|
2015-09-28 23:27:24 +02:00
|
|
|
select HAVE_SPI_CONSOLE_SUPPORT
|
2017-05-22 15:58:03 +02:00
|
|
|
select HAVE_FSP_GOP
|
2017-08-21 01:21:10 +02:00
|
|
|
select GENERIC_GPIO_LIB
|
2017-09-26 19:34:35 +02:00
|
|
|
select INTEL_GMA_ACPI
|
|
|
|
select INTEL_GMA_SWSMISCI
|
2018-11-11 00:44:36 +01:00
|
|
|
select CPU_INTEL_COMMON
|
2019-03-04 08:02:43 +01:00
|
|
|
select SOUTHBRIDGE_INTEL_COMMON_SMBUS
|
2015-05-06 00:07:29 +02:00
|
|
|
|
2017-03-28 04:26:32 +02:00
|
|
|
config VBOOT
|
vboot: Select CONFIG_VBOOT_OPROM_MATTERS in more cases
This patch enables CONFIG_VBOOT_OPROM_MATTERS in a few more cases where
I think(?) it should be. Haswell, Broadwell and Baytrail Chromebooks
have this enabled in their old depthcharge firmware branches -- we
presumably just forgot to move it over when vboot2 migrated the option
to coreboot. Braswell didn't, but it seems like this requirement was
added when it was migrated to FSP 1.1...? (Not very sure about that one,
but it does call load_vbt() right now which executes things based on
display_init_required().) Additionally, it seems to make sense to enable
it whenever the user explicitly selects VGA_ROM_RUN in menuconfig (like
one of the Intel defconfigs does).
Once we have all this, one could take a step back and ask whether this
option still makes sense at all anymore. It's enabled for almost all
devices (that work with vboot at all), it will presumably be enabled for
all future devices, and it seems that most devices that don't enable it
use libgfxinit, which as far as I can tell isn't gated on
display_init_required() but probably should be. Realistically, whatever
kind of display init a board needs to do (native or option ROM), it's
probably expensive enough that it's worth skipping on a normal mode
vboot boot, and we'd want to have this enabled by default on everything
except boards that actually don't have a display. So maybe we should
flip it around to CONFIG_VBOOT_OPROM_DOESNT_MATTER, but doing that would
probably lead to nobody ever selecting it at all.
Not sure what the best solution there is yet, but I think this patch
at least moves things in the more correct direction.
Change-Id: Id96a88296ddb9cfbb58ea67d93e1638d95570e2c
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32114
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2019-03-29 02:01:26 +01:00
|
|
|
select VBOOT_OPROM_MATTERS
|
2017-03-28 04:26:32 +02:00
|
|
|
select VBOOT_STARTS_IN_ROMSTAGE
|
|
|
|
|
2015-05-06 00:07:29 +02:00
|
|
|
config BOOTBLOCK_CPU_INIT
|
|
|
|
string
|
2015-04-21 00:20:28 +02:00
|
|
|
default "soc/intel/braswell/bootblock/bootblock.c"
|
2015-05-06 00:07:29 +02:00
|
|
|
|
|
|
|
config MMCONF_BASE_ADDRESS
|
2017-06-13 14:47:28 +02:00
|
|
|
hex
|
2015-05-06 00:07:29 +02:00
|
|
|
default 0xe0000000
|
|
|
|
|
|
|
|
config MAX_CPUS
|
|
|
|
int
|
|
|
|
default 4
|
|
|
|
|
|
|
|
config CPU_ADDR_BITS
|
|
|
|
int
|
|
|
|
default 36
|
|
|
|
|
|
|
|
config SMM_TSEG_SIZE
|
|
|
|
hex
|
|
|
|
default 0x800000
|
|
|
|
|
|
|
|
config SMM_RESERVED_SIZE
|
|
|
|
hex
|
|
|
|
default 0x100000
|
|
|
|
|
|
|
|
# Cache As RAM region layout:
|
|
|
|
#
|
|
|
|
# +-------------+ DCACHE_RAM_BASE + DCACHE_RAM_SIZE
|
2016-07-26 13:03:31 +02:00
|
|
|
# | Stack |
|
|
|
|
# | | |
|
|
|
|
# | v |
|
2015-05-06 00:07:29 +02:00
|
|
|
# +-------------+
|
|
|
|
# | ^ |
|
|
|
|
# | | |
|
|
|
|
# | CAR Globals |
|
|
|
|
# +-------------+ DCACHE_RAM_BASE
|
|
|
|
#
|
|
|
|
|
|
|
|
config DCACHE_RAM_BASE
|
2017-06-13 14:47:28 +02:00
|
|
|
hex
|
2015-04-21 00:20:28 +02:00
|
|
|
default 0xfef00000
|
2015-05-06 00:07:29 +02:00
|
|
|
|
|
|
|
config DCACHE_RAM_SIZE
|
2017-06-13 14:47:28 +02:00
|
|
|
hex
|
2015-04-21 00:20:28 +02:00
|
|
|
default 0x4000
|
2015-05-06 00:07:29 +02:00
|
|
|
help
|
|
|
|
The size of the cache-as-ram region required during bootblock
|
|
|
|
and/or romstage. Note DCACHE_RAM_SIZE and DCACHE_RAM_MRC_VAR_SIZE
|
|
|
|
must add up to a power of 2.
|
|
|
|
|
|
|
|
config RESET_ON_INVALID_RAMSTAGE_CACHE
|
|
|
|
bool "Reset the system on S3 wake when ramstage cache invalid."
|
|
|
|
default n
|
|
|
|
help
|
2015-04-21 00:20:28 +02:00
|
|
|
The haswell romstage code caches the loaded ramstage program
|
2015-05-06 00:07:29 +02:00
|
|
|
in SMM space. On S3 wake the romstage will copy over a fresh
|
|
|
|
ramstage that was cached in the SMM space. This option determines
|
|
|
|
the action to take when the ramstage cache is invalid. If selected
|
|
|
|
the system will reset otherwise the ramstage will be reloaded from
|
|
|
|
cbfs.
|
|
|
|
|
|
|
|
config ENABLE_BUILTIN_COM1
|
|
|
|
bool "Enable builtin COM1 Serial Port"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
The PMC has a legacy COM1 serial port. Choose this option to
|
|
|
|
configure the pads and enable it. This serial port can be used for
|
|
|
|
the debug console.
|
|
|
|
|
2015-04-21 00:20:28 +02:00
|
|
|
config IED_REGION_SIZE
|
|
|
|
hex
|
|
|
|
default 0x400000
|
|
|
|
|
2018-11-16 12:08:41 +01:00
|
|
|
config DISABLE_HPET
|
|
|
|
bool "Disable the HPET device"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Enable this to disable the HPET support
|
|
|
|
Solves the Linux MP-BIOS bug timer not connected.
|
|
|
|
|
2015-05-06 00:07:29 +02:00
|
|
|
endif
|