summaryrefslogtreecommitdiff
path: root/src/mainboard/opencellular/rotundu/Kconfig
blob: a062a7a95d7b324e5162ec8b67ba89ea95e3ed90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
##
## 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_16384
	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 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 CACHE_ROM_SIZE_OVERRIDE
	hex
	default 0x800000

config FSP_LOC
	hex
	default 0xfffb0000

# FIXME: Slow boot performance when increasing CBFS_SIZE beyond 8MB?
config CBFS_SIZE
	hex
	default 0x00200000 if BOARD_ROMSIZE_KB_8192
	default 0x00800000

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