Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 1 | config SOC_INTEL_BAYTRAIL |
| 2 | bool |
| 3 | help |
| 4 | Bay Trail M/D part support. |
| 5 | |
| 6 | if SOC_INTEL_BAYTRAIL |
| 7 | |
| 8 | config CPU_SPECIFIC_OPTIONS |
| 9 | def_bool y |
Aaron Durbin | f5cfaa3 | 2016-07-13 23:20:07 -0500 | [diff] [blame] | 10 | select ACPI_INTEL_HARDWARE_SLEEP_VALUES |
Furquan Shaikh | 99ac98f | 2014-04-23 10:18:48 -0700 | [diff] [blame] | 11 | select ARCH_BOOTBLOCK_X86_32 |
Stefan Reinauer | 77b1655 | 2015-01-14 19:51:47 +0100 | [diff] [blame] | 12 | select ARCH_VERSTAGE_X86_32 |
Furquan Shaikh | 99ac98f | 2014-04-23 10:18:48 -0700 | [diff] [blame] | 13 | select ARCH_ROMSTAGE_X86_32 |
| 14 | select ARCH_RAMSTAGE_X86_32 |
Aaron Durbin | e8e118d | 2016-08-12 15:00:10 -0500 | [diff] [blame] | 15 | select BOOT_DEVICE_SUPPORTS_WRITES |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 16 | select CACHE_MRC_SETTINGS |
Aaron Durbin | 59d1d87 | 2014-01-14 17:34:10 -0600 | [diff] [blame] | 17 | select CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED |
Kyösti Mälkki | 4851bf2 | 2014-12-27 12:57:06 +0200 | [diff] [blame] | 18 | select SUPPORT_CPU_UCODE_IN_CBFS |
Vadim Bendebury | c04e171 | 2013-09-27 16:21:04 -0700 | [diff] [blame] | 19 | select HAVE_SMI_HANDLER |
Patrick Rudolph | 45022ae | 2018-10-01 19:17:11 +0200 | [diff] [blame] | 20 | select SOUTHBRIDGE_INTEL_COMMON_RESET |
Aaron Durbin | f5ff854 | 2016-05-05 10:38:03 -0500 | [diff] [blame] | 21 | select NO_FIXED_XIP_ROM_SIZE |
Aaron Durbin | 302cbd6 | 2013-10-21 12:36:17 -0500 | [diff] [blame] | 22 | select PARALLEL_MP |
Duncan Laurie | c6313db | 2014-01-16 11:18:36 -0800 | [diff] [blame] | 23 | select PCIEXP_ASPM |
| 24 | select PCIEXP_COMMON_CLOCK |
Isaac Christensen | d2044cc | 2014-10-01 13:37:36 -0600 | [diff] [blame] | 25 | select REG_SCRIPT |
Aaron Durbin | 16246ea | 2016-08-05 21:23:37 -0500 | [diff] [blame] | 26 | select RTC |
Vadim Bendebury | c04e171 | 2013-09-27 16:21:04 -0700 | [diff] [blame] | 27 | select SMM_TSEG |
| 28 | select SMP |
| 29 | select SPI_FLASH |
| 30 | select SSE2 |
Vadim Bendebury | c04e171 | 2013-09-27 16:21:04 -0700 | [diff] [blame] | 31 | select TSC_CONSTANT_RATE |
Aaron Durbin | ce7ecf9 | 2013-10-24 08:42:10 -0500 | [diff] [blame] | 32 | select TSC_MONOTONIC_TIMER |
Vadim Bendebury | c04e171 | 2013-09-27 16:21:04 -0700 | [diff] [blame] | 33 | select TSC_SYNC_MFENCE |
| 34 | select UDELAY_TSC |
Stefan Reinauer | 9616f3c | 2015-04-29 10:45:22 -0700 | [diff] [blame] | 35 | select SOC_INTEL_COMMON |
Stefan Tauner | ef8b957 | 2018-09-06 00:34:28 +0200 | [diff] [blame] | 36 | select INTEL_DESCRIPTOR_MODE_CAPABLE |
Martin Roth | 3a54318 | 2015-09-28 15:27:24 -0600 | [diff] [blame] | 37 | select HAVE_SPI_CONSOLE_SUPPORT |
Matt DeVillier | be33a67 | 2018-03-11 22:44:41 -0500 | [diff] [blame] | 38 | select INTEL_GMA_ACPI |
| 39 | select INTEL_GMA_SWSMISCI |
Arthur Heymans | d5d20d0 | 2018-11-29 14:16:49 +0100 | [diff] [blame] | 40 | select POSTCAR_STAGE |
| 41 | select POSTCAR_CONSOLE |
Matt DeVillier | e5a1a4c | 2017-01-19 21:13:02 -0600 | [diff] [blame] | 42 | select CPU_INTEL_COMMON |
Arthur Heymans | b1c57d1 | 2019-01-10 20:28:48 +0100 | [diff] [blame] | 43 | select CPU_HAS_L2_ENABLE_MSR |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 44 | |
Julius Werner | 1210b41 | 2017-03-27 19:26:32 -0700 | [diff] [blame] | 45 | config VBOOT |
Julius Werner | 9993b6f | 2019-03-28 18:01:26 -0700 | [diff] [blame] | 46 | select VBOOT_OPROM_MATTERS |
Julius Werner | 1210b41 | 2017-03-27 19:26:32 -0700 | [diff] [blame] | 47 | select VBOOT_STARTS_IN_ROMSTAGE |
| 48 | |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 49 | config BOOTBLOCK_CPU_INIT |
| 50 | string |
| 51 | default "soc/intel/baytrail/bootblock/bootblock.c" |
| 52 | |
| 53 | config MMCONF_BASE_ADDRESS |
| 54 | hex |
| 55 | default 0xe0000000 |
| 56 | |
| 57 | config MAX_CPUS |
| 58 | int |
| 59 | default 4 |
| 60 | |
| 61 | config CPU_ADDR_BITS |
| 62 | int |
| 63 | default 36 |
| 64 | |
| 65 | config SMM_TSEG_SIZE |
| 66 | hex |
| 67 | default 0x800000 |
| 68 | |
| 69 | config SMM_RESERVED_SIZE |
| 70 | hex |
| 71 | default 0x100000 |
| 72 | |
| 73 | config HAVE_MRC |
Arthur Heymans | abe62be | 2018-06-17 21:36:22 +0200 | [diff] [blame] | 74 | bool "Add a System Agent binary" |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 75 | help |
Arthur Heymans | abe62be | 2018-06-17 21:36:22 +0200 | [diff] [blame] | 76 | Select this option to add a System Agent binary to |
| 77 | the resulting coreboot image. |
| 78 | |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 79 | Note: Without this binary coreboot will not work |
| 80 | |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 81 | config MRC_FILE |
Arthur Heymans | abe62be | 2018-06-17 21:36:22 +0200 | [diff] [blame] | 82 | string "Intel System Agent path and filename" |
| 83 | depends on HAVE_MRC |
| 84 | default "mrc.bin" |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 85 | help |
| 86 | The path and filename of the file to use as System Agent |
Arthur Heymans | abe62be | 2018-06-17 21:36:22 +0200 | [diff] [blame] | 87 | binary. |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 88 | |
| 89 | config MRC_BIN_ADDRESS |
| 90 | hex |
| 91 | default 0xfffa0000 |
| 92 | |
Shawn Nematbakhsh | 13d9341 | 2013-11-26 15:37:43 -0800 | [diff] [blame] | 93 | config MRC_RMT |
| 94 | bool "Enable MRC RMT training + debug prints" |
| 95 | default n |
| 96 | |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 97 | # Cache As RAM region layout: |
| 98 | # |
| 99 | # +-------------+ DCACHE_RAM_BASE + DCACHE_RAM_SIZE + DCACHE_RAM_MRC_VAR_SIZE |
| 100 | # | MRC usage | |
| 101 | # | | |
| 102 | # +-------------+ DCACHE_RAM_BASE + DCACHE_RAM_SIZE |
Kyösti Mälkki | 2bad1e7 | 2016-07-26 14:03:31 +0300 | [diff] [blame] | 103 | # | Stack | |
| 104 | # | | | |
| 105 | # | v | |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 106 | # +-------------+ |
| 107 | # | ^ | |
| 108 | # | | | |
| 109 | # | CAR Globals | |
| 110 | # +-------------+ DCACHE_RAM_BASE |
| 111 | # |
| 112 | # Note that the MRC binary is linked to assume the region marked as "MRC usage" |
| 113 | # starts at DCACHE_RAM_BASE + DCACHE_RAM_SIZE. If those values change then |
| 114 | # a new MRC binary needs to be produced with the updated start and size |
| 115 | # information. |
| 116 | |
| 117 | config DCACHE_RAM_BASE |
| 118 | hex |
Aaron Durbin | 89f5292 | 2014-03-19 11:48:33 -0500 | [diff] [blame] | 119 | default 0xfe000000 |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 120 | |
| 121 | config DCACHE_RAM_SIZE |
| 122 | hex |
Aaron Durbin | 08a4613 | 2013-10-07 16:24:44 -0500 | [diff] [blame] | 123 | default 0x8000 |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 124 | help |
| 125 | The size of the cache-as-ram region required during bootblock |
| 126 | and/or romstage. Note DCACHE_RAM_SIZE and DCACHE_RAM_MRC_VAR_SIZE |
| 127 | must add up to a power of 2. |
| 128 | |
| 129 | config DCACHE_RAM_MRC_VAR_SIZE |
| 130 | hex |
Aaron Durbin | 08a4613 | 2013-10-07 16:24:44 -0500 | [diff] [blame] | 131 | default 0x8000 |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 132 | help |
| 133 | The amount of cache-as-ram region required by the reference code. |
| 134 | |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 135 | config RESET_ON_INVALID_RAMSTAGE_CACHE |
| 136 | bool "Reset the system on S3 wake when ramstage cache invalid." |
| 137 | default n |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 138 | help |
| 139 | The baytrail romstage code caches the loaded ramstage program |
| 140 | in SMM space. On S3 wake the romstage will copy over a fresh |
| 141 | ramstage that was cached in the SMM space. This option determines |
| 142 | the action to take when the ramstage cache is invalid. If selected |
| 143 | the system will reset otherwise the ramstage will be reloaded from |
| 144 | cbfs. |
| 145 | |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 146 | config ENABLE_BUILTIN_COM1 |
| 147 | bool "Enable builtin COM1 Serial Port" |
| 148 | default n |
| 149 | help |
| 150 | The PMC has a legacy COM1 serial port. Choose this option to |
| 151 | configure the pads and enable it. This serial port can be used for |
| 152 | the debug console. |
| 153 | |
Vladimir Serbinenko | f1d6e7e | 2014-08-09 07:16:10 +0200 | [diff] [blame] | 154 | config HAVE_REFCODE_BLOB |
| 155 | depends on ARCH_X86 |
| 156 | bool "An external reference code blob should be put into cbfs." |
| 157 | default n |
| 158 | help |
| 159 | The reference code blob will be placed into cbfs. |
| 160 | |
| 161 | if HAVE_REFCODE_BLOB |
| 162 | |
| 163 | config REFCODE_BLOB_FILE |
| 164 | string "Path and filename to reference code blob." |
| 165 | default "refcode.elf" |
| 166 | help |
| 167 | The path and filename to the file to be added to cbfs. |
| 168 | |
| 169 | endif # HAVE_REFCODE_BLOB |
| 170 | |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 171 | endif |