Change-Id: If77c23fc5d440fe9181e4aae72ffff8ddaa716b6 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/29588 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
110 lines
2.7 KiB
Plaintext
110 lines
2.7 KiB
Plaintext
##
|
|
## This file is part of the coreboot project.
|
|
##
|
|
## Copyright (C) 2013-2014 Sage Electronic Engineering, LLC.
|
|
## Copyright (C) 2014 Intel Corporation
|
|
## Copyright (C) 2017-present Facebook, Inc.
|
|
##
|
|
## 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.
|
|
##
|
|
|
|
config BOARD_OPENCELLULAR_BASEBOARD_ROTUNDU
|
|
def_bool n
|
|
select SOC_INTEL_FSP_BAYTRAIL
|
|
select BOARD_ROMSIZE_KB_8192
|
|
select HAVE_ACPI_TABLES
|
|
select HAVE_OPTION_TABLE
|
|
select ENABLE_BUILTIN_COM1
|
|
select TSC_MONOTONIC_TIMER
|
|
select ENABLE_FSP_FAST_BOOT
|
|
select HAVE_ACPI_RESUME
|
|
select USE_BLOBS
|
|
select HAVE_FSP_BIN if FSP_PACKAGE_DEFAULT
|
|
select MAINBOARD_HAS_LPC_TPM
|
|
select MAINBOARD_HAS_TPM1
|
|
|
|
if BOARD_OPENCELLULAR_BASEBOARD_ROTUNDU
|
|
|
|
config VBOOT
|
|
select MRC_CACHE_FMAP
|
|
select VBOOT_VBNV_CMOS
|
|
select VBOOT_NO_BOARD_SUPPORT
|
|
select GBB_FLAG_DISABLE_LID_SHUTDOWN
|
|
select GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC
|
|
select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
|
|
select GBB_FLAG_DISABLE_FWMP
|
|
|
|
config GBB_HWID
|
|
string
|
|
depends on VBOOT
|
|
default "ROTUNDU" if BOARD_OPENCELLULAR_ROTUNDU
|
|
default "SUPABRCKV1" if BOARD_OPENCELLULAR_SUPABRCKV1
|
|
|
|
config VARIANT_DIR
|
|
string
|
|
default "rotundu" if BOARD_OPENCELLULAR_ROTUNDU
|
|
default "supabrckv1" if BOARD_OPENCELLULAR_SUPABRCKV1
|
|
|
|
config MAINBOARD_PART_NUMBER
|
|
string
|
|
default "Rotundu" if BOARD_OPENCELLULAR_ROTUNDU
|
|
default "Supabrck v1" if BOARD_OPENCELLULAR_SUPABRCKV1
|
|
|
|
config DEVICETREE
|
|
string
|
|
default "variants/rotundu/devicetree.cb" if BOARD_OPENCELLULAR_ROTUNDU
|
|
default "variants/supabrckv1/devicetree.cb" if BOARD_OPENCELLULAR_SUPABRCKV1
|
|
|
|
config MAINBOARD_DIR
|
|
string
|
|
default "opencellular/rotundu"
|
|
|
|
config MAINBOARD_VENDOR
|
|
string
|
|
default "OpenCellular"
|
|
|
|
config MAX_CPUS
|
|
int
|
|
default 16
|
|
|
|
config FSP_LOC
|
|
hex
|
|
default 0xfffb0000
|
|
|
|
config FMDFILE
|
|
string
|
|
depends on VBOOT
|
|
default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/vboot-8M.fmd" if BOARD_ROMSIZE_KB_8192
|
|
default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/vboot-16M.fmd" if BOARD_ROMSIZE_KB_16384
|
|
|
|
config CBFS_SIZE
|
|
hex
|
|
default 0x00140000 if BOARD_ROMSIZE_KB_8192
|
|
default 0x003effc0 if BOARD_ROMSIZE_KB_16384
|
|
|
|
config VIRTUAL_ROM_SIZE
|
|
hex
|
|
depends on ENABLE_FSP_FAST_BOOT
|
|
default 0x800000
|
|
|
|
config FSP_PACKAGE_DEFAULT
|
|
bool "Configure defaults for the Intel FSP package"
|
|
default n
|
|
|
|
config VGA_BIOS
|
|
bool
|
|
default y if FSP_PACKAGE_DEFAULT
|
|
|
|
config VGA_BIOS_ID
|
|
string
|
|
default "8086,0f31"
|
|
|
|
endif # BOARD_OPENCELLULAR_ROTUNDU
|