blob: c2d24b29c61be533816465a7a7a61d060d6db56a [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
Angel Pons8e035e32021-06-22 12:58:20 +020011 select ARCH_X86
Shelley Chen6c2568f2020-09-25 09:30:44 -070012 select BOOT_DEVICE_SPI_FLASH_NO_EARLY_WRITES
Aaron Durbine8e118d2016-08-12 15:00:10 -050013 select BOOT_DEVICE_SUPPORTS_WRITES
Aaron Durbin9a7d7bc2013-09-07 00:41:48 -050014 select CACHE_MRC_SETTINGS
Aaron Durbin59d1d872014-01-14 17:34:10 -060015 select CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED
Kyösti Mälkki4851bf22014-12-27 12:57:06 +020016 select SUPPORT_CPU_UCODE_IN_CBFS
Vadim Bendeburyc04e1712013-09-27 16:21:04 -070017 select HAVE_SMI_HANDLER
Patrick Rudolph45022ae2018-10-01 19:17:11 +020018 select SOUTHBRIDGE_INTEL_COMMON_RESET
Kyösti Mälkki542fa6d2020-01-07 02:18:02 +020019 select SOUTHBRIDGE_INTEL_COMMON_SMBUS
Arthur Heymansb48d6332019-06-04 14:51:19 +020020 select SOUTHBRIDGE_INTEL_COMMON_SPI_SILVERMONT
Duncan Lauriec6313db2014-01-16 11:18:36 -080021 select PCIEXP_ASPM
22 select PCIEXP_COMMON_CLOCK
Isaac Christensend2044cc2014-10-01 13:37:36 -060023 select REG_SCRIPT
Aaron Durbin16246ea2016-08-05 21:23:37 -050024 select RTC
Vadim Bendeburyc04e1712013-09-27 16:21:04 -070025 select SPI_FLASH
26 select SSE2
Aaron Durbince7ecf92013-10-24 08:42:10 -050027 select TSC_MONOTONIC_TIMER
Vadim Bendeburyc04e1712013-09-27 16:21:04 -070028 select TSC_SYNC_MFENCE
29 select UDELAY_TSC
Stefan Reinauer9616f3c2015-04-29 10:45:22 -070030 select SOC_INTEL_COMMON
Stefan Tauneref8b9572018-09-06 00:34:28 +020031 select INTEL_DESCRIPTOR_MODE_CAPABLE
Angel Pons12d48cd2020-10-03 12:22:04 +020032 select HAVE_EM100PRO_SPI_CONSOLE_SUPPORT
Matt DeVillierbe33a672018-03-11 22:44:41 -050033 select INTEL_GMA_ACPI
34 select INTEL_GMA_SWSMISCI
Matt DeVilliere5a1a4c2017-01-19 21:13:02 -060035 select CPU_INTEL_COMMON
Arthur Heymansb1c57d12019-01-10 20:28:48 +010036 select CPU_HAS_L2_ENABLE_MSR
Aaron Durbin9a7d7bc2013-09-07 00:41:48 -050037
Julius Werner1210b412017-03-27 19:26:32 -070038config VBOOT
Joel Kitching6672bd82019-04-10 16:06:21 +080039 select VBOOT_MUST_REQUEST_DISPLAY
Julius Werner1210b412017-03-27 19:26:32 -070040 select VBOOT_STARTS_IN_ROMSTAGE
41
Shelley Chen4e9bb332021-10-20 15:43:45 -070042config ECAM_MMCONF_BASE_ADDRESS
Aaron Durbin9a7d7bc2013-09-07 00:41:48 -050043 default 0xe0000000
44
Shelley Chen4e9bb332021-10-20 15:43:45 -070045config ECAM_MMCONF_BUS_NUMBER
Kyösti Mälkki6d085442021-02-14 01:55:18 +020046 int
47 default 256
48
Aaron Durbin9a7d7bc2013-09-07 00:41:48 -050049config MAX_CPUS
50 int
51 default 4
52
Aaron Durbin9a7d7bc2013-09-07 00:41:48 -050053config SMM_TSEG_SIZE
54 hex
55 default 0x800000
56
57config SMM_RESERVED_SIZE
58 hex
59 default 0x100000
60
61config HAVE_MRC
Arthur Heymansabe62be2018-06-17 21:36:22 +020062 bool "Add a System Agent binary"
Aaron Durbin9a7d7bc2013-09-07 00:41:48 -050063 help
Arthur Heymansabe62be2018-06-17 21:36:22 +020064 Select this option to add a System Agent binary to
65 the resulting coreboot image.
66
Aaron Durbin9a7d7bc2013-09-07 00:41:48 -050067 Note: Without this binary coreboot will not work
68
Aaron Durbin9a7d7bc2013-09-07 00:41:48 -050069config MRC_FILE
Arthur Heymansabe62be2018-06-17 21:36:22 +020070 string "Intel System Agent path and filename"
71 depends on HAVE_MRC
72 default "mrc.bin"
Aaron Durbin9a7d7bc2013-09-07 00:41:48 -050073 help
74 The path and filename of the file to use as System Agent
Arthur Heymansabe62be2018-06-17 21:36:22 +020075 binary.
Aaron Durbin9a7d7bc2013-09-07 00:41:48 -050076
77config MRC_BIN_ADDRESS
78 hex
79 default 0xfffa0000
80
Shawn Nematbakhsh13d93412013-11-26 15:37:43 -080081config MRC_RMT
82 bool "Enable MRC RMT training + debug prints"
83 default n
84
Aaron Durbin9a7d7bc2013-09-07 00:41:48 -050085# Cache As RAM region layout:
86#
87# +-------------+ DCACHE_RAM_BASE + DCACHE_RAM_SIZE + DCACHE_RAM_MRC_VAR_SIZE
88# | MRC usage |
89# | |
Arthur Heymans179da7f2019-11-15 12:51:51 +010090# -------------+ DCACHE_RAM_BASE + DCACHE_RAM_SIZE
91# | coreboot |
92# | usage |
Aaron Durbin9a7d7bc2013-09-07 00:41:48 -050093# +-------------+ DCACHE_RAM_BASE
94#
95# Note that the MRC binary is linked to assume the region marked as "MRC usage"
96# starts at DCACHE_RAM_BASE + DCACHE_RAM_SIZE. If those values change then
97# a new MRC binary needs to be produced with the updated start and size
98# information.
99
100config DCACHE_RAM_BASE
101 hex
Aaron Durbin89f52922014-03-19 11:48:33 -0500102 default 0xfe000000
Aaron Durbin9a7d7bc2013-09-07 00:41:48 -0500103
104config DCACHE_RAM_SIZE
105 hex
Aaron Durbin08a46132013-10-07 16:24:44 -0500106 default 0x8000
Aaron Durbin9a7d7bc2013-09-07 00:41:48 -0500107 help
108 The size of the cache-as-ram region required during bootblock
109 and/or romstage. Note DCACHE_RAM_SIZE and DCACHE_RAM_MRC_VAR_SIZE
110 must add up to a power of 2.
111
112config DCACHE_RAM_MRC_VAR_SIZE
113 hex
Aaron Durbin08a46132013-10-07 16:24:44 -0500114 default 0x8000
Aaron Durbin9a7d7bc2013-09-07 00:41:48 -0500115 help
116 The amount of cache-as-ram region required by the reference code.
117
Arthur Heymans179da7f2019-11-15 12:51:51 +0100118config DCACHE_BSP_STACK_SIZE
119 hex
120 default 0x2000
121
Aaron Durbin9a7d7bc2013-09-07 00:41:48 -0500122config ENABLE_BUILTIN_COM1
123 bool "Enable builtin COM1 Serial Port"
124 default n
125 help
126 The PMC has a legacy COM1 serial port. Choose this option to
127 configure the pads and enable it. This serial port can be used for
128 the debug console.
129
Vladimir Serbinenkof1d6e7e2014-08-09 07:16:10 +0200130config HAVE_REFCODE_BLOB
131 depends on ARCH_X86
Mate Kukrie2319492020-07-04 11:20:07 +0200132 bool "Use a binary refcode blob instead of native ModPHY init"
Vladimir Serbinenkof1d6e7e2014-08-09 07:16:10 +0200133 default n
134 help
Martin Roth26f97f92021-10-01 14:53:22 -0600135 Use the ChromeBook refcode to initialize high-speed PHYs instead of
Mate Kukrie2319492020-07-04 11:20:07 +0200136 native code.
Vladimir Serbinenkof1d6e7e2014-08-09 07:16:10 +0200137
138if HAVE_REFCODE_BLOB
139
Mate Kukrie2319492020-07-04 11:20:07 +0200140# Ask for the blob if the user wants it
Vladimir Serbinenkof1d6e7e2014-08-09 07:16:10 +0200141config REFCODE_BLOB_FILE
142 string "Path and filename to reference code blob."
143 default "refcode.elf"
144 help
145 The path and filename to the file to be added to cbfs.
146
147endif # HAVE_REFCODE_BLOB
148
Matt DeVillier0da3a8a2019-05-27 02:09:24 -0500149config VGA_BIOS_ID
150 string
151 depends on VGA_BIOS
152 default "8086,0f31"
153
Aaron Durbin9a7d7bc2013-09-07 00:41:48 -0500154endif