Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 1 | config SOC_INTEL_METEORLAKE |
| 2 | bool |
| 3 | |
| 4 | if SOC_INTEL_METEORLAKE |
| 5 | |
| 6 | config CPU_SPECIFIC_OPTIONS |
| 7 | def_bool y |
| 8 | select ARCH_X86 |
| 9 | select BOOT_DEVICE_SUPPORTS_WRITES |
| 10 | select INTEL_DESCRIPTOR_MODE_CAPABLE |
| 11 | select IDT_IN_EVERY_STAGE |
| 12 | select INTEL_CAR_NEM |
| 13 | select MICROCODE_BLOB_UNDISCLOSED |
| 14 | select SOC_INTEL_COMMON |
| 15 | select SOC_INTEL_COMMON_BLOCK_CAR |
| 16 | select SOC_INTEL_COMMON_BLOCK_CPU |
| 17 | select SOC_INTEL_COMMON_BLOCK_GSPI_VERSION_2 |
| 18 | select SOC_INTEL_COMMON_BLOCK_SA |
| 19 | select SOC_INTEL_COMMON_PCH_BASE |
| 20 | select SOC_INTEL_COMMON_RESET |
| 21 | select SSE2 |
| 22 | select SUPPORT_CPU_UCODE_IN_CBFS |
| 23 | select TSC_MONOTONIC_TIMER |
| 24 | select UDELAY_TSC |
| 25 | |
| 26 | config DCACHE_RAM_BASE |
| 27 | default 0xfef00000 |
| 28 | |
| 29 | config DCACHE_RAM_SIZE |
| 30 | default 0xc0000 |
| 31 | help |
| 32 | The size of the cache-as-ram region required during bootblock |
| 33 | and/or romstage. |
| 34 | |
| 35 | config DCACHE_BSP_STACK_SIZE |
| 36 | hex |
| 37 | default 0x80400 |
| 38 | help |
| 39 | The amount of anticipated stack usage in CAR by bootblock and |
| 40 | other stages. In the case of FSP_USES_CB_STACK default value will be |
| 41 | sum of FSP-M stack requirement(512KiB) and CB romstage stack requirement |
| 42 | (~1KiB). |
| 43 | |
| 44 | config FSP_TEMP_RAM_SIZE |
| 45 | hex |
| 46 | default 0x20000 |
| 47 | help |
| 48 | The amount of anticipated heap usage in CAR by FSP. |
| 49 | Refer to Platform FSP integration guide document to know |
| 50 | the exact FSP requirement for Heap setup. |
| 51 | |
| 52 | config IFD_CHIPSET |
| 53 | string |
| 54 | default "mtl" |
| 55 | |
| 56 | config IED_REGION_SIZE |
| 57 | hex |
| 58 | default 0x400000 |
| 59 | |
| 60 | config HEAP_SIZE |
| 61 | hex |
| 62 | default 0x10000 |
| 63 | |
| 64 | config PCR_BASE_ADDRESS |
| 65 | hex |
| 66 | default 0xe0000000 |
| 67 | help |
| 68 | This option allows you to select MMIO Base Address of sideband bus. |
| 69 | |
| 70 | config ECAM_MMCONF_BASE_ADDRESS |
| 71 | default 0xc0000000 |
| 72 | |
| 73 | config CPU_BCLK_MHZ |
| 74 | int |
| 75 | default 100 |
| 76 | |
| 77 | config SOC_INTEL_COMMON_BLOCK_GSPI_CLOCK_MHZ |
| 78 | int |
| 79 | default 120 |
| 80 | |
| 81 | config CPU_XTAL_HZ |
| 82 | default 38400000 |
| 83 | |
| 84 | config DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ |
| 85 | int |
| 86 | default 133 |
| 87 | |
| 88 | config SOC_INTEL_COMMON_BLOCK_GSPI_MAX |
| 89 | int |
| 90 | default 2 |
| 91 | |
| 92 | config SOC_INTEL_I2C_DEV_MAX |
| 93 | int |
| 94 | default 6 |
| 95 | |
| 96 | config SOC_INTEL_UART_DEV_MAX |
| 97 | int |
| 98 | default 3 |
| 99 | |
| 100 | config SOC_INTEL_USB2_DEV_MAX |
| 101 | int |
| 102 | default 10 |
| 103 | |
| 104 | config SOC_INTEL_USB3_DEV_MAX |
| 105 | int |
| 106 | default 2 |
| 107 | |
| 108 | config CONSOLE_UART_BASE_ADDRESS |
| 109 | hex |
| 110 | default 0xfe03e000 |
| 111 | depends on INTEL_LPSS_UART_FOR_CONSOLE |
| 112 | |
| 113 | # Clock divider parameters for 115200 baud rate |
Angel Pons | 054ff5e | 2022-06-26 10:19:53 +0200 | [diff] [blame] | 114 | # Baudrate = (UART source clock * M) /(N *16) |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 115 | # MTL UART source clock: 120MHz |
| 116 | config SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL |
| 117 | hex |
| 118 | default 0x25a |
| 119 | |
| 120 | config SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL |
| 121 | hex |
| 122 | default 0x7fff |
| 123 | |
| 124 | config CBFS_SIZE |
| 125 | hex |
| 126 | default 0x200000 |
| 127 | |
| 128 | config PRERAM_CBMEM_CONSOLE_SIZE |
| 129 | hex |
Subrata Banik | ea4f8c2 | 2022-05-30 13:56:13 +0530 | [diff] [blame] | 130 | default 0x2000 |
Ravi Sarawadi | b8224f4 | 2022-04-10 23:31:24 -0700 | [diff] [blame] | 131 | |
| 132 | endif |