summaryrefslogtreecommitdiff
path: root/src/mainboard/opencellular/rotundu/Kconfig
blob: 34916c3815f26afb69b97b29172eaa2bbc07cb04 (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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
##
## 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