CQ-DEPEND=CL:228856 BUG=chrome-os-partner:33676 BRANCH=None TEST=Compiles successfully for samus, link, rush_ryu. Original-Change-Id: I8499cab5dd08981a558688964b99b65d78bde476 Original-Signed-off-by: Furquan Shaikh <furquan@google.com> Original-Reviewed-on: https://chromium-review.googlesource.com/228743 Original-Reviewed-by: Furquan Shaikh <furquan@chromium.org> Original-Commit-Queue: Furquan Shaikh <furquan@chromium.org> Original-Tested-by: Furquan Shaikh <furquan@chromium.org> (cherry picked from commit e6aa03752ba8c22b303f3fa590cbc9cf938872ef) Signed-off-by: Aaron Durbin <adurbin@chromium.org> Change-Id: Ib229756d8dece6f5670460702413f74bc2c692df Reviewed-on: http://review.coreboot.org/9441 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins)
162 lines
4.5 KiB
Plaintext
162 lines
4.5 KiB
Plaintext
## This file is part of the coreboot project.
|
|
##
|
|
## Copyright (C) 2011 The ChromiumOS Authors. All rights reserved.
|
|
##
|
|
## This program is free software; you can redistribute it and/or modify
|
|
## it under the terms of the GNU General Public License as published by
|
|
## the Free Software Foundation; version 2 of the License.
|
|
##
|
|
## This program is distributed in the hope that it will be useful,
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
## GNU General Public License for more details.
|
|
##
|
|
## You should have received a copy of the GNU General Public License
|
|
## along with this program; if not, write to the Free Software
|
|
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
##
|
|
|
|
config MAINBOARD_HAS_CHROMEOS
|
|
def_bool n
|
|
|
|
menu "ChromeOS"
|
|
depends on MAINBOARD_HAS_CHROMEOS
|
|
|
|
config CHROMEOS
|
|
bool "Build for ChromeOS"
|
|
default n
|
|
select TPM
|
|
select BOOTMODE_STRAPS
|
|
help
|
|
Enable ChromeOS specific features like the GPIO sub table in
|
|
the coreboot table. NOTE: Enabling this option on an unsupported
|
|
board will most likely break your build.
|
|
|
|
if CHROMEOS
|
|
|
|
config VBNV_OFFSET
|
|
hex
|
|
default 0x26
|
|
depends on PC80_SYSTEM
|
|
help
|
|
CMOS offset for VbNv data. This value must match cmos.layout
|
|
in the mainboard directory, minus 14 bytes for the RTC.
|
|
|
|
config VBNV_SIZE
|
|
hex
|
|
default 0x10
|
|
depends on PC80_SYSTEM
|
|
help
|
|
CMOS storage size for VbNv data. This value must match cmos.layout
|
|
in the mainboard directory.
|
|
|
|
config CHROMEOS_VBNV_CMOS
|
|
bool "Vboot non-volatile storage in CMOS."
|
|
default n
|
|
help
|
|
VBNV is stored in CMOS
|
|
|
|
config CHROMEOS_VBNV_EC
|
|
bool "Vboot non-volatile storage in EC."
|
|
default n
|
|
help
|
|
VBNV is stored in EC
|
|
|
|
config CHROMEOS_VBNV_FLASH
|
|
def_bool n
|
|
help
|
|
VBNV is stored in flash storage
|
|
|
|
config CHROMEOS_RAMOOPS
|
|
bool "Reserve space for Chrome OS ramoops"
|
|
default y
|
|
|
|
config CHROMEOS_RAMOOPS_DYNAMIC
|
|
bool "Allocate RAM oops buffer in cbmem"
|
|
default n
|
|
depends on CHROMEOS_RAMOOPS && HAVE_ACPI_TABLES
|
|
|
|
config CHROMEOS_RAMOOPS_RAM_START
|
|
hex "Physical address of preserved RAM"
|
|
default 0x00f00000
|
|
depends on CHROMEOS_RAMOOPS && !CHROMEOS_RAMOOPS_DYNAMIC
|
|
|
|
config CHROMEOS_RAMOOPS_RAM_SIZE
|
|
hex "Size of preserved RAM"
|
|
default 0x00100000
|
|
depends on CHROMEOS_RAMOOPS
|
|
|
|
config FLASHMAP_OFFSET
|
|
hex "Flash Map Offset"
|
|
default 0x00670000 if NORTHBRIDGE_INTEL_SANDYBRIDGE
|
|
default 0x00610000 if NORTHBRIDGE_INTEL_IVYBRIDGE
|
|
default 0
|
|
help
|
|
Offset of flash map in firmware image
|
|
|
|
config EC_SOFTWARE_SYNC
|
|
bool "Enable EC software sync"
|
|
default n
|
|
depends on VBOOT_VERIFY_FIRMWARE || VBOOT2_VERIFY_FIRMWARE
|
|
help
|
|
EC software sync is a mechanism where the AP helps the EC verify its
|
|
firmware similar to how vboot verifies the main system firmware. This
|
|
option selects whether depthcharge should support EC software sync.
|
|
|
|
config VBOOT_EC_SLOW_UPDATE
|
|
bool "EC is slow to update"
|
|
default n
|
|
depends on EC_SOFTWARE_SYNC
|
|
help
|
|
Whether the EC (or PD) is slow to update and needs to display a
|
|
screen that informs the user the update is happening.
|
|
|
|
config VBOOT_OPROM_MATTERS
|
|
bool "Video option ROM matters"
|
|
default n
|
|
depends on VBOOT_VERIFY_FIRMWARE
|
|
help
|
|
Whether the video option ROM has run matters on this platform.
|
|
|
|
config VIRTUAL_DEV_SWITCH
|
|
bool "Virtual developer switch support"
|
|
default n
|
|
depends on VBOOT_VERIFY_FIRMWARE || VBOOT2_VERIFY_FIRMWARE
|
|
help
|
|
Whether this platform has a virtual developer switch.
|
|
|
|
# These VBOOT_X_INDEX are the position of X in FW_MAIN_A/B region. The index
|
|
# table is created by cros_bundle_firmware at build time based on the positions
|
|
# of the blobs listed in fmap.dts and stored at the top of FW_MAIN_A/B region.
|
|
# Unfortunately, there is no programmatical link between the blob list and the
|
|
# index number here.
|
|
config VBOOT_BOOT_LOADER_INDEX
|
|
hex "Bootloader component index"
|
|
default 0
|
|
depends on VBOOT_VERIFY_FIRMWARE || VBOOT2_VERIFY_FIRMWARE
|
|
help
|
|
This is the index of the bootloader component in the verified
|
|
firmware block.
|
|
|
|
config VBOOT_RAMSTAGE_INDEX
|
|
hex "Ramstage component index"
|
|
default 1
|
|
depends on VBOOT_VERIFY_FIRMWARE || VBOOT2_VERIFY_FIRMWARE
|
|
help
|
|
This is the index of the ramstage component in the verified
|
|
firmware block.
|
|
|
|
config NO_TPM_RESUME
|
|
bool
|
|
default n
|
|
help
|
|
On some boards the TPM stays powered up in S3. On those
|
|
boards, booting Windows will break if the TPM resume command
|
|
is sent during an S3 resume.
|
|
|
|
source src/vendorcode/google/chromeos/vboot1/Kconfig
|
|
source src/vendorcode/google/chromeos/vboot2/Kconfig
|
|
|
|
endif # CHROMEOS
|
|
endmenu
|