Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 1 | config SOC_INTEL_CANNONLAKE |
| 2 | bool |
| 3 | help |
| 4 | Intel Cannonlake support |
| 5 | |
| 6 | if SOC_INTEL_CANNONLAKE |
| 7 | |
| 8 | config CPU_SPECIFIC_OPTIONS |
| 9 | def_bool y |
Lijian Zhao | b3dfcb8 | 2017-08-16 22:18:52 -0700 | [diff] [blame] | 10 | select ACPI_INTEL_HARDWARE_SLEEP_VALUES |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 11 | select ARCH_BOOTBLOCK_X86_32 |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 12 | select ARCH_RAMSTAGE_X86_32 |
| 13 | select ARCH_ROMSTAGE_X86_32 |
Lijian Zhao | dcf99b0 | 2017-07-30 15:40:10 -0700 | [diff] [blame] | 14 | select ARCH_VERSTAGE_X86_32 |
Lijian Zhao | 3211117 | 2017-08-16 11:40:03 -0700 | [diff] [blame] | 15 | select BOOT_DEVICE_SPI_FLASH_RW_NOMMAP_EARLY if BOOT_DEVICE_SPI_FLASH |
| 16 | select BOOT_DEVICE_SUPPORTS_WRITES |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 17 | select C_ENVIRONMENT_BOOTBLOCK |
Lijian Zhao | a06f55b | 2017-10-04 23:08:55 -0700 | [diff] [blame] | 18 | select CACHE_MRC_SETTINGS |
Lijian Zhao | 2b074d9 | 2017-08-17 14:25:24 -0700 | [diff] [blame] | 19 | select COMMON_FADT |
Lijian Zhao | acfc149 | 2017-07-06 15:27:27 -0700 | [diff] [blame] | 20 | select CPU_INTEL_FIRMWARE_INTERFACE_TABLE |
Nick Vaccaro | 69b5cdb | 2017-08-29 19:25:23 -0700 | [diff] [blame] | 21 | select GENERIC_GPIO_LIB |
Abhay kumar | fcf8820 | 2017-09-20 15:17:42 -0700 | [diff] [blame] | 22 | select HAVE_FSP_GOP |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 23 | select HAVE_HARD_RESET |
| 24 | select HAVE_INTEL_FIRMWARE |
Lijian Zhao | dcf99b0 | 2017-07-30 15:40:10 -0700 | [diff] [blame] | 25 | select HAVE_MONOTONIC_TIMER |
Lijian Zhao | f0eb999 | 2017-09-14 14:51:12 -0700 | [diff] [blame] | 26 | select HAVE_SMI_HANDLER |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 27 | select INTEL_CAR_NEM_ENHANCED |
Abhay Kumar | b0c4cbb | 2017-10-12 11:33:01 -0700 | [diff] [blame] | 28 | select INTEL_GMA_ACPI |
Abhay kumar | fcf8820 | 2017-09-20 15:17:42 -0700 | [diff] [blame] | 29 | select INTEL_GMA_ADD_VBT_DATA_FILE if RUN_FSP_GOP |
Lijian Zhao | a515849 | 2017-08-29 14:37:17 -0700 | [diff] [blame] | 30 | select IOAPIC |
Lijian Zhao | a06f55b | 2017-10-04 23:08:55 -0700 | [diff] [blame] | 31 | select MRC_SETTINGS_PROTECT |
Pratik Prajapati | 01eda28 | 2017-08-17 21:09:45 -0700 | [diff] [blame] | 32 | select PARALLEL_MP |
| 33 | select PARALLEL_MP_AP_WORK |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 34 | select PLATFORM_USES_FSP2_0 |
Lijian Zhao | 8465a81 | 2017-07-11 12:33:22 -0700 | [diff] [blame] | 35 | select POSTCAR_CONSOLE |
| 36 | select POSTCAR_STAGE |
Lijian Zhao | dcf99b0 | 2017-07-30 15:40:10 -0700 | [diff] [blame] | 37 | select REG_SCRIPT |
Lijian Zhao | f0eb999 | 2017-09-14 14:51:12 -0700 | [diff] [blame] | 38 | select RELOCATABLE_MODULES |
Lijian Zhao | a77c68a | 2017-07-18 18:14:42 -0700 | [diff] [blame] | 39 | select RELOCATABLE_RAMSTAGE |
Lijian Zhao | f0eb999 | 2017-09-14 14:51:12 -0700 | [diff] [blame] | 40 | select SMM_TSEG |
Pratik Prajapati | 01eda28 | 2017-08-17 21:09:45 -0700 | [diff] [blame] | 41 | select SMP |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 42 | select SOC_INTEL_COMMON |
Lijian Zhao | 2b074d9 | 2017-08-17 14:25:24 -0700 | [diff] [blame] | 43 | select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 44 | select SOC_INTEL_COMMON_BLOCK |
Lijian Zhao | 2b074d9 | 2017-08-17 14:25:24 -0700 | [diff] [blame] | 45 | select SOC_INTEL_COMMON_BLOCK_ACPI |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 46 | select SOC_INTEL_COMMON_BLOCK_CAR |
Andrey Petrov | 3e2e050 | 2017-06-05 13:22:24 -0700 | [diff] [blame] | 47 | select SOC_INTEL_COMMON_BLOCK_CPU |
Pratik Prajapati | 01eda28 | 2017-08-17 21:09:45 -0700 | [diff] [blame] | 48 | select SOC_INTEL_COMMON_BLOCK_CPU_MPINIT |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 49 | select SOC_INTEL_COMMON_BLOCK_CSE |
Lijian Zhao | 7b2d1ae | 2017-10-30 14:23:56 -0700 | [diff] [blame] | 50 | select SOC_INTEL_COMMON_BLOCK_DSP |
Subrata Banik | 47569cf | 2017-10-12 17:59:02 +0530 | [diff] [blame] | 51 | select SOC_INTEL_COMMON_BLOCK_EBDA |
Lijian Zhao | dcf99b0 | 2017-07-30 15:40:10 -0700 | [diff] [blame] | 52 | select SOC_INTEL_COMMON_BLOCK_FAST_SPI |
Andrey Petrov | c854b49 | 2017-06-05 14:10:17 -0700 | [diff] [blame] | 53 | select SOC_INTEL_COMMON_BLOCK_GPIO |
Subrata Banik | 75c6f4a | 2017-11-28 18:37:48 +0530 | [diff] [blame] | 54 | select SOC_INTEL_COMMON_BLOCK_GRAPHICS |
Lijian Zhao | 3211117 | 2017-08-16 11:40:03 -0700 | [diff] [blame] | 55 | select SOC_INTEL_COMMON_BLOCK_GSPI |
Lijian Zhao | a515849 | 2017-08-29 14:37:17 -0700 | [diff] [blame] | 56 | select SOC_INTEL_COMMON_BLOCK_ITSS |
Lijian Zhao | 9bb684a | 2017-10-30 17:03:06 -0700 | [diff] [blame] | 57 | select SOC_INTEL_COMMON_BLOCK_I2C |
Lijian Zhao | a515849 | 2017-08-29 14:37:17 -0700 | [diff] [blame] | 58 | select SOC_INTEL_COMMON_BLOCK_LPC |
Lijian Zhao | dcf99b0 | 2017-07-30 15:40:10 -0700 | [diff] [blame] | 59 | select SOC_INTEL_COMMON_BLOCK_LPSS |
Lijian Zhao | 899f5ff | 2017-10-26 12:02:30 -0700 | [diff] [blame] | 60 | select SOC_INTEL_COMMON_BLOCK_P2SB |
Lijian Zhao | dcf99b0 | 2017-07-30 15:40:10 -0700 | [diff] [blame] | 61 | select SOC_INTEL_COMMON_BLOCK_PCR |
Lijian Zhao | b3dfcb8 | 2017-08-16 22:18:52 -0700 | [diff] [blame] | 62 | select SOC_INTEL_COMMON_BLOCK_PMC |
Lijian Zhao | dcf99b0 | 2017-07-30 15:40:10 -0700 | [diff] [blame] | 63 | select SOC_INTEL_COMMON_BLOCK_RTC |
| 64 | select SOC_INTEL_COMMON_BLOCK_SA |
Bora Guvendik | d2c6365 | 2017-09-19 14:04:37 -0700 | [diff] [blame] | 65 | select SOC_INTEL_COMMON_BLOCK_SCS |
Lijian Zhao | dcf99b0 | 2017-07-30 15:40:10 -0700 | [diff] [blame] | 66 | select SOC_INTEL_COMMON_BLOCK_SMBUS |
Brandon Breitenstein | ae15486 | 2017-08-01 11:32:06 -0700 | [diff] [blame] | 67 | select SOC_INTEL_COMMON_BLOCK_SMM |
| 68 | select SOC_INTEL_COMMON_BLOCK_SMM_IO_TRAP |
Subrata Banik | 5a283ef | 2017-11-07 18:06:36 +0530 | [diff] [blame] | 69 | select SOC_INTEL_COMMON_BLOCK_SPI |
Lijian Zhao | dcf99b0 | 2017-07-30 15:40:10 -0700 | [diff] [blame] | 70 | select SOC_INTEL_COMMON_BLOCK_TIMER |
| 71 | select SOC_INTEL_COMMON_BLOCK_UART |
| 72 | select SOC_INTEL_COMMON_RESET |
Lijian Zhao | f0eb999 | 2017-09-14 14:51:12 -0700 | [diff] [blame] | 73 | select SSE2 |
Lijian Zhao | acfc149 | 2017-07-06 15:27:27 -0700 | [diff] [blame] | 74 | select SUPPORT_CPU_UCODE_IN_CBFS |
Lijian Zhao | dcf99b0 | 2017-07-30 15:40:10 -0700 | [diff] [blame] | 75 | select TSC_CONSTANT_RATE |
| 76 | select TSC_MONOTONIC_TIMER |
| 77 | select UDELAY_TSC |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 78 | |
| 79 | config UART_DEBUG |
| 80 | bool "Enable UART debug port." |
| 81 | default y |
| 82 | select CONSOLE_SERIAL |
| 83 | select BOOTBLOCK_CONSOLE |
| 84 | select DRIVERS_UART |
Lijian Zhao | d37ebdd | 2017-08-30 20:54:16 -0700 | [diff] [blame] | 85 | select DRIVERS_UART_8250MEM_32 |
| 86 | select NO_UART_ON_SUPERIO |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 87 | |
Subrata Banik | ce4c9ec | 2017-08-14 13:23:54 +0530 | [diff] [blame] | 88 | config UART_FOR_CONSOLE |
| 89 | int "Index for LPSS UART port to use for console" |
Lijian Zhao | 0c8237a | 2017-09-14 16:25:18 -0700 | [diff] [blame] | 90 | default 2 if DRIVERS_UART_8250MEM_32 |
Subrata Banik | b045d4c | 2017-08-30 11:47:32 +0530 | [diff] [blame] | 91 | default 0 |
Subrata Banik | ce4c9ec | 2017-08-14 13:23:54 +0530 | [diff] [blame] | 92 | help |
| 93 | Index for LPSS UART port to use for console: |
| 94 | 0 = LPSS UART0, 1 = LPSS UART1, 2 = LPSS UART2 |
| 95 | |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 96 | config DCACHE_RAM_BASE |
| 97 | default 0xfef00000 |
| 98 | |
| 99 | config DCACHE_RAM_SIZE |
| 100 | default 0x40000 |
| 101 | help |
| 102 | The size of the cache-as-ram region required during bootblock |
| 103 | and/or romstage. |
| 104 | |
| 105 | config DCACHE_BSP_STACK_SIZE |
| 106 | hex |
| 107 | default 0x4000 |
| 108 | help |
| 109 | The amount of anticipated stack usage in CAR by bootblock and |
| 110 | other stages. |
| 111 | |
Pratik Prajapati | 9027e1b | 2017-08-23 17:37:43 -0700 | [diff] [blame] | 112 | config IED_REGION_SIZE |
| 113 | hex |
| 114 | default 0x400000 |
| 115 | |
Pratik Prajapati | c8c741d | 2017-08-29 11:38:42 -0700 | [diff] [blame] | 116 | config MAX_ROOT_PORTS |
| 117 | int |
Lijian Zhao | c85890d | 2017-10-20 09:19:07 -0700 | [diff] [blame] | 118 | default 16 |
Pratik Prajapati | c8c741d | 2017-08-29 11:38:42 -0700 | [diff] [blame] | 119 | |
Pratik Prajapati | 9027e1b | 2017-08-23 17:37:43 -0700 | [diff] [blame] | 120 | config SMM_TSEG_SIZE |
| 121 | hex |
| 122 | default 0x800000 |
| 123 | |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 124 | config PCR_BASE_ADDRESS |
| 125 | hex |
| 126 | default 0xfd000000 |
| 127 | help |
| 128 | This option allows you to select MMIO Base Address of sideband bus. |
| 129 | |
Andrey Petrov | 3e2e050 | 2017-06-05 13:22:24 -0700 | [diff] [blame] | 130 | config CPU_BCLK_MHZ |
| 131 | int |
| 132 | default 100 |
| 133 | |
Lijian Zhao | f388561 | 2017-11-09 15:01:33 -0800 | [diff] [blame] | 134 | config SOC_INTEL_COMMON_LPSS_CLOCK_MHZ |
| 135 | int |
| 136 | default 120 |
| 137 | |
Lijian Zhao | 3211117 | 2017-08-16 11:40:03 -0700 | [diff] [blame] | 138 | config SOC_INTEL_COMMON_BLOCK_GSPI_MAX |
| 139 | int |
| 140 | default 3 |
| 141 | |
Lijian Zhao | 8465a81 | 2017-07-11 12:33:22 -0700 | [diff] [blame] | 142 | # Clock divider parameters for 115200 baud rate |
| 143 | config SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL |
| 144 | hex |
| 145 | default 0x30 |
| 146 | |
| 147 | config SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL |
| 148 | hex |
| 149 | default 0xc35 |
| 150 | |
Lijian Zhao | 6d7063c | 2017-08-29 17:26:48 -0700 | [diff] [blame] | 151 | config CHROMEOS |
| 152 | select CHROMEOS_RAMOOPS_DYNAMIC |
| 153 | |
| 154 | config VBOOT |
| 155 | select VBOOT_SEPARATE_VERSTAGE |
| 156 | select VBOOT_OPROM_MATTERS |
| 157 | select VBOOT_SAVE_RECOVERY_REASON_ON_REBOOT |
| 158 | select VBOOT_STARTS_IN_BOOTBLOCK |
| 159 | select VBOOT_VBNV_CMOS |
| 160 | select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH |
| 161 | |
Aaron Durbin | 4a8f45f | 2017-10-05 17:05:36 -0600 | [diff] [blame] | 162 | config C_ENV_BOOTBLOCK_SIZE |
| 163 | hex |
| 164 | default 0x4000 |
| 165 | |
John Zhao | 9b6384c | 2017-10-11 19:09:21 -0700 | [diff] [blame] | 166 | config STACK_SIZE |
| 167 | hex |
| 168 | default 0x2000 |
| 169 | |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 170 | endif |