blob: 549ea55d19486bada35a119505825de7b9dd99b9 [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
Martin Roth433659a2014-05-12 21:55:00 -060032 select HAVE_HARD_RESET
Martin Roth433659a2014-05-12 21:55:00 -060033 select RELOCATABLE_MODULES
34 select PARALLEL_MP
35 select REG_SCRIPT
Kayalvizhi Dhandapani454625c2014-10-07 14:34:01 -040036 select SMM_TSEG
Martin Roth433659a2014-05-12 21:55:00 -060037 select SMP
38 select SPI_FLASH
39 select SSE2
40 select TSC_CONSTANT_RATE
41 select TSC_SYNC_MFENCE
42 select UDELAY_TSC
Alexandru Gagniuceb73a212015-02-18 14:18:01 -060043 select SUPPORT_CPU_UCODE_IN_CBFS
Martin Rothc407cb92015-06-23 19:59:30 -060044 select HAVE_INTEL_FIRMWARE
Martin Roth3a543182015-09-28 15:27:24 -060045 select HAVE_SPI_CONSOLE_SUPPORT
Martin Roth433659a2014-05-12 21:55:00 -060046
Martin Roth0307e0a2015-11-05 08:06:54 -070047 # Microcode header files are delivered in FSP package
48 select USES_MICROCODE_HEADER_FILES if HAVE_FSP_BIN
49
Werner Zehb5a374d2015-02-10 10:16:12 +010050config SOC_INTEL_FSP_BAYTRAIL_MD
51 bool
52 default n
53
Martin Roth433659a2014-05-12 21:55:00 -060054config BOOTBLOCK_CPU_INIT
55 string
56 default "soc/intel/fsp_baytrail/bootblock/bootblock.c"
57
58config MMCONF_BASE_ADDRESS
59 hex
Martin Rothe96f4b12014-06-22 22:05:24 -060060 default 0xe0000000
Martin Roth433659a2014-05-12 21:55:00 -060061
62config MAX_CPUS
63 int
64 default 4
65
66config CPU_ADDR_BITS
67 int
68 default 36
69
70config SMM_TSEG_SIZE
71 hex
David Imhoff326a0372015-04-22 17:24:26 +020072 default 0x800000
Martin Roth433659a2014-05-12 21:55:00 -060073 help
74 This is set by the FSP
75
76config SMM_RESERVED_SIZE
77 hex
78 default 0x100000
79
80config VGA_BIOS_ID
81 string
82 default "8086,0f31"
83 help
84 This is the default PCI ID for the Bay Trail graphics
Daniele Forsi53847a22014-07-22 18:00:56 +020085 devices. This string names the vbios ROM in cbfs.
Martin Roth433659a2014-05-12 21:55:00 -060086
Martin Roth433659a2014-05-12 21:55:00 -060087config ENABLE_BUILTIN_COM1
88 bool "Enable built-in legacy Serial Port"
89 help
90 The Baytrail SOC has one legacy serial port. Choose this option to
91 configure the pads and enable it. This serial port can be used for
92 the debug console.
93
94config VGA_BIOS_FILE
95 string
Martin Roth0baaa2d2014-06-12 12:20:26 -060096 default "../intel/cpu/baytrail/vbios/Vga.dat" if VGA_BIOS
Martin Roth433659a2014-05-12 21:55:00 -060097
Martin Roth0307e0a2015-11-05 08:06:54 -070098config CPU_MICROCODE_HEADER_FILES
99 string
100 default "../intel/cpu/baytrail/microcode/M0130673322.h ../intel/cpu/baytrail/microcode/M0130679901.h ../intel/cpu/baytrail/microcode/M0230672228.h"
101
Martin Roth433659a2014-05-12 21:55:00 -0600102## Baytrail Specific FSP Kconfig
103source src/soc/intel/fsp_baytrail/fsp/Kconfig
104
105endif #SOC_INTEL_FSP_BAYTRAIL