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