blob: 072df295a50d48c2c5e15ecb8e9510b926e70020 [file] [log] [blame]
Martin Roth433659a2014-05-12 21:55:00 -06001##
2## This file is part of the coreboot project.
3##
4## Copyright (C) 2011 The ChromiumOS Authors. All rights reserved.
5## Copyright (C) 2013-2014 Sage Electronic Engineering, LLC.
6##
7## This program is free software; you can redistribute it and/or modify
8## it under the terms of the GNU General Public License as published by
9## the Free Software Foundation; version 2 of the License.
10##
11## This program is distributed in the hope that it will be useful,
12## but WITHOUT ANY WARRANTY; without even the implied warranty of
13## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14## GNU General Public License for more details.
15##
Martin Roth433659a2014-05-12 21:55:00 -060016
17config SOC_INTEL_FSP_BAYTRAIL
18 bool
19 help
20 Bay Trail I part support using the Intel FSP.
21
22if SOC_INTEL_FSP_BAYTRAIL
23
24config CPU_SPECIFIC_OPTIONS
25 def_bool y
Aaron Durbin15e439a2016-07-13 23:22:01 -050026 select ACPI_INTEL_HARDWARE_SLEEP_VALUES
Martin Roth433659a2014-05-12 21:55:00 -060027 select ARCH_BOOTBLOCK_X86_32
Stefan Reinauer77b16552015-01-14 19:51:47 +010028 select ARCH_VERSTAGE_X86_32
Martin Roth433659a2014-05-12 21:55:00 -060029 select ARCH_ROMSTAGE_X86_32
30 select ARCH_RAMSTAGE_X86_32
Kayalvizhi Dhandapani454625c2014-10-07 14:34:01 -040031 select HAVE_SMI_HANDLER
Patrick Rudolph45022ae2018-10-01 19:17:11 +020032 select SOUTHBRIDGE_INTEL_COMMON_RESET
Kyösti Mälkki7904e722018-06-03 14:55:10 +030033 select NO_RELOCATABLE_RAMSTAGE
Martin Roth433659a2014-05-12 21:55:00 -060034 select PARALLEL_MP
35 select REG_SCRIPT
36 select SMP
37 select SPI_FLASH
38 select SSE2
39 select TSC_CONSTANT_RATE
40 select TSC_SYNC_MFENCE
41 select UDELAY_TSC
Kyösti Mälkkic804f312019-07-06 06:49:37 +030042 select TSC_MONOTONIC_TIMER
Alexandru Gagniuceb73a212015-02-18 14:18:01 -060043 select SUPPORT_CPU_UCODE_IN_CBFS
Nico Huberf5ca9222018-11-29 17:05:32 +010044 select MICROCODE_BLOB_NOT_HOOKED_UP
Stefan Tauneref8b9572018-09-06 00:34:28 +020045 select INTEL_DESCRIPTOR_MODE_CAPABLE
Martin Roth3a543182015-09-28 15:27:24 -060046 select HAVE_SPI_CONSOLE_SUPPORT
Martin Roth433659a2014-05-12 21:55:00 -060047
Martin Roth0307e0a2015-11-05 08:06:54 -070048 # Microcode header files are delivered in FSP package
49 select USES_MICROCODE_HEADER_FILES if HAVE_FSP_BIN
50
Philipp Deppenwiese405a0f52018-07-30 01:31:33 +020051config VBOOT
52 select VBOOT_STARTS_IN_ROMSTAGE
53
Werner Zehb5a374d2015-02-10 10:16:12 +010054config SOC_INTEL_FSP_BAYTRAIL_MD
55 bool
56 default n
57
Martin Roth433659a2014-05-12 21:55:00 -060058config BOOTBLOCK_CPU_INIT
59 string
60 default "soc/intel/fsp_baytrail/bootblock/bootblock.c"
61
62config MMCONF_BASE_ADDRESS
63 hex
Martin Rothe96f4b12014-06-22 22:05:24 -060064 default 0xe0000000
Martin Roth433659a2014-05-12 21:55:00 -060065
66config MAX_CPUS
67 int
68 default 4
69
70config CPU_ADDR_BITS
71 int
72 default 36
73
74config SMM_TSEG_SIZE
75 hex
David Imhoff326a0372015-04-22 17:24:26 +020076 default 0x800000
Martin Roth433659a2014-05-12 21:55:00 -060077 help
78 This is set by the FSP
79
80config SMM_RESERVED_SIZE
81 hex
82 default 0x100000
83
84config VGA_BIOS_ID
85 string
86 default "8086,0f31"
87 help
88 This is the default PCI ID for the Bay Trail graphics
Daniele Forsi53847a22014-07-22 18:00:56 +020089 devices. This string names the vbios ROM in cbfs.
Martin Roth433659a2014-05-12 21:55:00 -060090
Martin Roth433659a2014-05-12 21:55:00 -060091config ENABLE_BUILTIN_COM1
92 bool "Enable built-in legacy Serial Port"
93 help
94 The Baytrail SOC has one legacy serial port. Choose this option to
95 configure the pads and enable it. This serial port can be used for
96 the debug console.
97
98config VGA_BIOS_FILE
99 string
Martin Roth0baaa2d2014-06-12 12:20:26 -0600100 default "../intel/cpu/baytrail/vbios/Vga.dat" if VGA_BIOS
Martin Roth433659a2014-05-12 21:55:00 -0600101
Martin Roth0307e0a2015-11-05 08:06:54 -0700102config CPU_MICROCODE_HEADER_FILES
103 string
104 default "../intel/cpu/baytrail/microcode/M0130673322.h ../intel/cpu/baytrail/microcode/M0130679901.h ../intel/cpu/baytrail/microcode/M0230672228.h"
105
Martin Roth433659a2014-05-12 21:55:00 -0600106## Baytrail Specific FSP Kconfig
107source src/soc/intel/fsp_baytrail/fsp/Kconfig
108
109endif #SOC_INTEL_FSP_BAYTRAIL