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 |
Kyösti Mälkki | 4abc731 | 2021-01-12 17:46:30 +0200 | [diff] [blame^] | 11 | select ACPI_HAS_DEVICE_NVS |
Angel Pons | a32df26 | 2020-09-25 10:20:11 +0200 | [diff] [blame] | 12 | select ARCH_ALL_STAGES_X86_32 |
Shelley Chen | 6c2568f | 2020-09-25 09:30:44 -0700 | [diff] [blame] | 13 | select BOOT_DEVICE_SPI_FLASH_NO_EARLY_WRITES |
Aaron Durbin | e8e118d | 2016-08-12 15:00:10 -0500 | [diff] [blame] | 14 | select BOOT_DEVICE_SUPPORTS_WRITES |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 15 | select CACHE_MRC_SETTINGS |
Aaron Durbin | 59d1d87 | 2014-01-14 17:34:10 -0600 | [diff] [blame] | 16 | select CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED |
Kyösti Mälkki | 4851bf2 | 2014-12-27 12:57:06 +0200 | [diff] [blame] | 17 | select SUPPORT_CPU_UCODE_IN_CBFS |
Vadim Bendebury | c04e171 | 2013-09-27 16:21:04 -0700 | [diff] [blame] | 18 | select HAVE_SMI_HANDLER |
Patrick Rudolph | 45022ae | 2018-10-01 19:17:11 +0200 | [diff] [blame] | 19 | select SOUTHBRIDGE_INTEL_COMMON_RESET |
Kyösti Mälkki | 542fa6d | 2020-01-07 02:18:02 +0200 | [diff] [blame] | 20 | select SOUTHBRIDGE_INTEL_COMMON_SMBUS |
Arthur Heymans | b48d633 | 2019-06-04 14:51:19 +0200 | [diff] [blame] | 21 | select SOUTHBRIDGE_INTEL_COMMON_SPI_SILVERMONT |
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 SPI_FLASH |
| 28 | select SSE2 |
Aaron Durbin | ce7ecf9 | 2013-10-24 08:42:10 -0500 | [diff] [blame] | 29 | select TSC_MONOTONIC_TIMER |
Vadim Bendebury | c04e171 | 2013-09-27 16:21:04 -0700 | [diff] [blame] | 30 | select TSC_SYNC_MFENCE |
| 31 | select UDELAY_TSC |
Stefan Reinauer | 9616f3c | 2015-04-29 10:45:22 -0700 | [diff] [blame] | 32 | select SOC_INTEL_COMMON |
Stefan Tauner | ef8b957 | 2018-09-06 00:34:28 +0200 | [diff] [blame] | 33 | select INTEL_DESCRIPTOR_MODE_CAPABLE |
Angel Pons | 12d48cd | 2020-10-03 12:22:04 +0200 | [diff] [blame] | 34 | select HAVE_EM100PRO_SPI_CONSOLE_SUPPORT |
Matt DeVillier | be33a67 | 2018-03-11 22:44:41 -0500 | [diff] [blame] | 35 | select INTEL_GMA_ACPI |
| 36 | select INTEL_GMA_SWSMISCI |
Matt DeVillier | e5a1a4c | 2017-01-19 21:13:02 -0600 | [diff] [blame] | 37 | select CPU_INTEL_COMMON |
Arthur Heymans | b1c57d1 | 2019-01-10 20:28:48 +0100 | [diff] [blame] | 38 | select CPU_HAS_L2_ENABLE_MSR |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 39 | |
Julius Werner | 1210b41 | 2017-03-27 19:26:32 -0700 | [diff] [blame] | 40 | config VBOOT |
Joel Kitching | 6672bd8 | 2019-04-10 16:06:21 +0800 | [diff] [blame] | 41 | select VBOOT_MUST_REQUEST_DISPLAY |
Julius Werner | 1210b41 | 2017-03-27 19:26:32 -0700 | [diff] [blame] | 42 | select VBOOT_STARTS_IN_ROMSTAGE |
| 43 | |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 44 | config MMCONF_BASE_ADDRESS |
| 45 | hex |
| 46 | default 0xe0000000 |
| 47 | |
| 48 | config MAX_CPUS |
| 49 | int |
| 50 | default 4 |
| 51 | |
| 52 | config CPU_ADDR_BITS |
| 53 | int |
| 54 | default 36 |
| 55 | |
| 56 | config SMM_TSEG_SIZE |
| 57 | hex |
| 58 | default 0x800000 |
| 59 | |
| 60 | config SMM_RESERVED_SIZE |
| 61 | hex |
| 62 | default 0x100000 |
| 63 | |
| 64 | config HAVE_MRC |
Arthur Heymans | abe62be | 2018-06-17 21:36:22 +0200 | [diff] [blame] | 65 | bool "Add a System Agent binary" |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 66 | help |
Arthur Heymans | abe62be | 2018-06-17 21:36:22 +0200 | [diff] [blame] | 67 | Select this option to add a System Agent binary to |
| 68 | the resulting coreboot image. |
| 69 | |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 70 | Note: Without this binary coreboot will not work |
| 71 | |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 72 | config MRC_FILE |
Arthur Heymans | abe62be | 2018-06-17 21:36:22 +0200 | [diff] [blame] | 73 | string "Intel System Agent path and filename" |
| 74 | depends on HAVE_MRC |
| 75 | default "mrc.bin" |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 76 | help |
| 77 | The path and filename of the file to use as System Agent |
Arthur Heymans | abe62be | 2018-06-17 21:36:22 +0200 | [diff] [blame] | 78 | binary. |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 79 | |
| 80 | config MRC_BIN_ADDRESS |
| 81 | hex |
| 82 | default 0xfffa0000 |
| 83 | |
Shawn Nematbakhsh | 13d9341 | 2013-11-26 15:37:43 -0800 | [diff] [blame] | 84 | config MRC_RMT |
| 85 | bool "Enable MRC RMT training + debug prints" |
| 86 | default n |
| 87 | |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 88 | # Cache As RAM region layout: |
| 89 | # |
| 90 | # +-------------+ DCACHE_RAM_BASE + DCACHE_RAM_SIZE + DCACHE_RAM_MRC_VAR_SIZE |
| 91 | # | MRC usage | |
| 92 | # | | |
Arthur Heymans | 179da7f | 2019-11-15 12:51:51 +0100 | [diff] [blame] | 93 | # -------------+ DCACHE_RAM_BASE + DCACHE_RAM_SIZE |
| 94 | # | coreboot | |
| 95 | # | usage | |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 96 | # +-------------+ DCACHE_RAM_BASE |
| 97 | # |
| 98 | # Note that the MRC binary is linked to assume the region marked as "MRC usage" |
| 99 | # starts at DCACHE_RAM_BASE + DCACHE_RAM_SIZE. If those values change then |
| 100 | # a new MRC binary needs to be produced with the updated start and size |
| 101 | # information. |
| 102 | |
| 103 | config DCACHE_RAM_BASE |
| 104 | hex |
Aaron Durbin | 89f5292 | 2014-03-19 11:48:33 -0500 | [diff] [blame] | 105 | default 0xfe000000 |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 106 | |
| 107 | config DCACHE_RAM_SIZE |
| 108 | hex |
Aaron Durbin | 08a4613 | 2013-10-07 16:24:44 -0500 | [diff] [blame] | 109 | default 0x8000 |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 110 | help |
| 111 | The size of the cache-as-ram region required during bootblock |
| 112 | and/or romstage. Note DCACHE_RAM_SIZE and DCACHE_RAM_MRC_VAR_SIZE |
| 113 | must add up to a power of 2. |
| 114 | |
| 115 | config DCACHE_RAM_MRC_VAR_SIZE |
| 116 | hex |
Aaron Durbin | 08a4613 | 2013-10-07 16:24:44 -0500 | [diff] [blame] | 117 | default 0x8000 |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 118 | help |
| 119 | The amount of cache-as-ram region required by the reference code. |
| 120 | |
Arthur Heymans | 179da7f | 2019-11-15 12:51:51 +0100 | [diff] [blame] | 121 | config DCACHE_BSP_STACK_SIZE |
| 122 | hex |
| 123 | default 0x2000 |
| 124 | |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 125 | config ENABLE_BUILTIN_COM1 |
| 126 | bool "Enable builtin COM1 Serial Port" |
| 127 | default n |
| 128 | help |
| 129 | The PMC has a legacy COM1 serial port. Choose this option to |
| 130 | configure the pads and enable it. This serial port can be used for |
| 131 | the debug console. |
| 132 | |
Vladimir Serbinenko | f1d6e7e | 2014-08-09 07:16:10 +0200 | [diff] [blame] | 133 | config HAVE_REFCODE_BLOB |
| 134 | depends on ARCH_X86 |
Mate Kukri | e231949 | 2020-07-04 11:20:07 +0200 | [diff] [blame] | 135 | bool "Use a binary refcode blob instead of native ModPHY init" |
Vladimir Serbinenko | f1d6e7e | 2014-08-09 07:16:10 +0200 | [diff] [blame] | 136 | default n |
| 137 | help |
Mate Kukri | e231949 | 2020-07-04 11:20:07 +0200 | [diff] [blame] | 138 | Use the ChromeBook refcode to intitialize high-speed PHYs instead of |
| 139 | native code. |
Vladimir Serbinenko | f1d6e7e | 2014-08-09 07:16:10 +0200 | [diff] [blame] | 140 | |
| 141 | if HAVE_REFCODE_BLOB |
| 142 | |
Mate Kukri | e231949 | 2020-07-04 11:20:07 +0200 | [diff] [blame] | 143 | # Ask for the blob if the user wants it |
Vladimir Serbinenko | f1d6e7e | 2014-08-09 07:16:10 +0200 | [diff] [blame] | 144 | config REFCODE_BLOB_FILE |
| 145 | string "Path and filename to reference code blob." |
| 146 | default "refcode.elf" |
| 147 | help |
| 148 | The path and filename to the file to be added to cbfs. |
| 149 | |
| 150 | endif # HAVE_REFCODE_BLOB |
| 151 | |
Matt DeVillier | 0da3a8a | 2019-05-27 02:09:24 -0500 | [diff] [blame] | 152 | config VGA_BIOS_ID |
| 153 | string |
| 154 | depends on VGA_BIOS |
| 155 | default "8086,0f31" |
| 156 | |
| 157 | config VGA_BIOS_FILE |
| 158 | string |
| 159 | depends on VGA_BIOS |
| 160 | default "pci8086,0f31.rom" |
| 161 | |
Aaron Durbin | 9a7d7bc | 2013-09-07 00:41:48 -0500 | [diff] [blame] | 162 | endif |