blob: 1fd9c4072c89604054f06cc7d9532e3b38f565da [file] [log] [blame]
Aaron Durbin9a7d7bc2013-09-07 00:41:48 -05001config SOC_INTEL_BAYTRAIL
2 bool
3 help
4 Bay Trail M/D part support.
5
6if SOC_INTEL_BAYTRAIL
7
8config CPU_SPECIFIC_OPTIONS
9 def_bool y
Aaron Durbinf5cfaa32016-07-13 23:20:07 -050010 select ACPI_INTEL_HARDWARE_SLEEP_VALUES
Furquan Shaikh99ac98f2014-04-23 10:18:48 -070011 select ARCH_BOOTBLOCK_X86_32
Stefan Reinauer77b16552015-01-14 19:51:47 +010012 select ARCH_VERSTAGE_X86_32
Furquan Shaikh99ac98f2014-04-23 10:18:48 -070013 select ARCH_ROMSTAGE_X86_32
14 select ARCH_RAMSTAGE_X86_32
Aaron Durbine8e118d2016-08-12 15:00:10 -050015 select BOOT_DEVICE_SUPPORTS_WRITES
Aaron Durbin9a7d7bc2013-09-07 00:41:48 -050016 select CACHE_MRC_SETTINGS
Aaron Durbin59d1d872014-01-14 17:34:10 -060017 select CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED
Kyösti Mälkki4851bf22014-12-27 12:57:06 +020018 select SUPPORT_CPU_UCODE_IN_CBFS
Vadim Bendeburyc04e1712013-09-27 16:21:04 -070019 select HAVE_SMI_HANDLER
Patrick Rudolph45022ae2018-10-01 19:17:11 +020020 select SOUTHBRIDGE_INTEL_COMMON_RESET
Kyösti Mälkki542fa6d2020-01-07 02:18:02 +020021 select SOUTHBRIDGE_INTEL_COMMON_SMBUS
Arthur Heymansb48d6332019-06-04 14:51:19 +020022 select SOUTHBRIDGE_INTEL_COMMON_SPI_SILVERMONT
Aaron Durbinf5ff8542016-05-05 10:38:03 -050023 select NO_FIXED_XIP_ROM_SIZE
Aaron Durbin302cbd62013-10-21 12:36:17 -050024 select PARALLEL_MP
Duncan Lauriec6313db2014-01-16 11:18:36 -080025 select PCIEXP_ASPM
26 select PCIEXP_COMMON_CLOCK
Isaac Christensend2044cc2014-10-01 13:37:36 -060027 select REG_SCRIPT
Aaron Durbin16246ea2016-08-05 21:23:37 -050028 select RTC
Vadim Bendeburyc04e1712013-09-27 16:21:04 -070029 select SMP
30 select SPI_FLASH
31 select SSE2
Aaron Durbince7ecf92013-10-24 08:42:10 -050032 select TSC_MONOTONIC_TIMER
Vadim Bendeburyc04e1712013-09-27 16:21:04 -070033 select TSC_SYNC_MFENCE
34 select UDELAY_TSC
Stefan Reinauer9616f3c2015-04-29 10:45:22 -070035 select SOC_INTEL_COMMON
Stefan Tauneref8b9572018-09-06 00:34:28 +020036 select INTEL_DESCRIPTOR_MODE_CAPABLE
Martin Roth3a543182015-09-28 15:27:24 -060037 select HAVE_SPI_CONSOLE_SUPPORT
Matt DeVillierbe33a672018-03-11 22:44:41 -050038 select INTEL_GMA_ACPI
39 select INTEL_GMA_SWSMISCI
Matt DeVilliere5a1a4c2017-01-19 21:13:02 -060040 select CPU_INTEL_COMMON
Arthur Heymansb1c57d12019-01-10 20:28:48 +010041 select CPU_HAS_L2_ENABLE_MSR
Aaron Durbin9a7d7bc2013-09-07 00:41:48 -050042
Julius Werner1210b412017-03-27 19:26:32 -070043config VBOOT
Joel Kitching6672bd82019-04-10 16:06:21 +080044 select VBOOT_MUST_REQUEST_DISPLAY
Julius Werner1210b412017-03-27 19:26:32 -070045 select VBOOT_STARTS_IN_ROMSTAGE
46
Aaron Durbin9a7d7bc2013-09-07 00:41:48 -050047config MMCONF_BASE_ADDRESS
48 hex
49 default 0xe0000000
50
51config MAX_CPUS
52 int
53 default 4
54
55config CPU_ADDR_BITS
56 int
57 default 36
58
59config SMM_TSEG_SIZE
60 hex
61 default 0x800000
62
63config SMM_RESERVED_SIZE
64 hex
65 default 0x100000
66
67config HAVE_MRC
Arthur Heymansabe62be2018-06-17 21:36:22 +020068 bool "Add a System Agent binary"
Aaron Durbin9a7d7bc2013-09-07 00:41:48 -050069 help
Arthur Heymansabe62be2018-06-17 21:36:22 +020070 Select this option to add a System Agent binary to
71 the resulting coreboot image.
72
Aaron Durbin9a7d7bc2013-09-07 00:41:48 -050073 Note: Without this binary coreboot will not work
74
Aaron Durbin9a7d7bc2013-09-07 00:41:48 -050075config MRC_FILE
Arthur Heymansabe62be2018-06-17 21:36:22 +020076 string "Intel System Agent path and filename"
77 depends on HAVE_MRC
78 default "mrc.bin"
Aaron Durbin9a7d7bc2013-09-07 00:41:48 -050079 help
80 The path and filename of the file to use as System Agent
Arthur Heymansabe62be2018-06-17 21:36:22 +020081 binary.
Aaron Durbin9a7d7bc2013-09-07 00:41:48 -050082
83config MRC_BIN_ADDRESS
84 hex
85 default 0xfffa0000
86
Shawn Nematbakhsh13d93412013-11-26 15:37:43 -080087config MRC_RMT
88 bool "Enable MRC RMT training + debug prints"
89 default n
90
Aaron Durbin9a7d7bc2013-09-07 00:41:48 -050091# Cache As RAM region layout:
92#
93# +-------------+ DCACHE_RAM_BASE + DCACHE_RAM_SIZE + DCACHE_RAM_MRC_VAR_SIZE
94# | MRC usage |
95# | |
Arthur Heymans179da7f2019-11-15 12:51:51 +010096# -------------+ DCACHE_RAM_BASE + DCACHE_RAM_SIZE
97# | coreboot |
98# | usage |
Aaron Durbin9a7d7bc2013-09-07 00:41:48 -050099# +-------------+ DCACHE_RAM_BASE
100#
101# Note that the MRC binary is linked to assume the region marked as "MRC usage"
102# starts at DCACHE_RAM_BASE + DCACHE_RAM_SIZE. If those values change then
103# a new MRC binary needs to be produced with the updated start and size
104# information.
105
106config DCACHE_RAM_BASE
107 hex
Aaron Durbin89f52922014-03-19 11:48:33 -0500108 default 0xfe000000
Aaron Durbin9a7d7bc2013-09-07 00:41:48 -0500109
110config DCACHE_RAM_SIZE
111 hex
Aaron Durbin08a46132013-10-07 16:24:44 -0500112 default 0x8000
Aaron Durbin9a7d7bc2013-09-07 00:41:48 -0500113 help
114 The size of the cache-as-ram region required during bootblock
115 and/or romstage. Note DCACHE_RAM_SIZE and DCACHE_RAM_MRC_VAR_SIZE
116 must add up to a power of 2.
117
118config DCACHE_RAM_MRC_VAR_SIZE
119 hex
Aaron Durbin08a46132013-10-07 16:24:44 -0500120 default 0x8000
Aaron Durbin9a7d7bc2013-09-07 00:41:48 -0500121 help
122 The amount of cache-as-ram region required by the reference code.
123
Arthur Heymans179da7f2019-11-15 12:51:51 +0100124config DCACHE_BSP_STACK_SIZE
125 hex
126 default 0x2000
127
Aaron Durbin9a7d7bc2013-09-07 00:41:48 -0500128config ENABLE_BUILTIN_COM1
129 bool "Enable builtin COM1 Serial Port"
130 default n
131 help
132 The PMC has a legacy COM1 serial port. Choose this option to
133 configure the pads and enable it. This serial port can be used for
134 the debug console.
135
Vladimir Serbinenkof1d6e7e2014-08-09 07:16:10 +0200136config HAVE_REFCODE_BLOB
137 depends on ARCH_X86
138 bool "An external reference code blob should be put into cbfs."
139 default n
140 help
141 The reference code blob will be placed into cbfs.
142
143if HAVE_REFCODE_BLOB
144
145config REFCODE_BLOB_FILE
146 string "Path and filename to reference code blob."
147 default "refcode.elf"
148 help
149 The path and filename to the file to be added to cbfs.
150
151endif # HAVE_REFCODE_BLOB
152
Matt DeVillier0da3a8a2019-05-27 02:09:24 -0500153config VGA_BIOS_ID
154 string
155 depends on VGA_BIOS
156 default "8086,0f31"
157
158config VGA_BIOS_FILE
159 string
160 depends on VGA_BIOS
161 default "pci8086,0f31.rom"
162
Aaron Durbin9a7d7bc2013-09-07 00:41:48 -0500163endif