Subrata Banik | b3ced6a | 2020-08-04 13:34:03 +0530 | [diff] [blame] | 1 | config SOC_INTEL_ALDERLAKE |
| 2 | bool |
| 3 | help |
| 4 | Intel Alderlake support |
| 5 | |
| 6 | if SOC_INTEL_ALDERLAKE |
| 7 | |
| 8 | config CPU_SPECIFIC_OPTIONS |
| 9 | def_bool y |
| 10 | select ARCH_BOOTBLOCK_X86_32 |
| 11 | select BOOT_DEVICE_SPI_FLASH_RW_NOMMAP_EARLY if BOOT_DEVICE_SPI_FLASH |
| 12 | select BOOT_DEVICE_SUPPORTS_WRITES |
| 13 | select INTEL_DESCRIPTOR_MODE_CAPABLE |
| 14 | select IDT_IN_EVERY_STAGE |
| 15 | select INTEL_CAR_NEM #TODO - Enable INTEL_CAR_NEM_ENHANCED |
| 16 | select MICROCODE_BLOB_UNDISCLOSED |
Subrata Banik | ee73594 | 2020-09-07 17:52:23 +0530 | [diff] [blame] | 17 | select PLATFORM_USES_FSP2_2 |
Subrata Banik | b3ced6a | 2020-08-04 13:34:03 +0530 | [diff] [blame] | 18 | select SOC_INTEL_COMMON |
| 19 | select SOC_INTEL_COMMON_BLOCK |
| 20 | select SOC_INTEL_COMMON_BLOCK_CPU |
| 21 | select SOC_INTEL_COMMON_BLOCK_GSPI_VERSION_2 |
| 22 | select SOC_INTEL_COMMON_BLOCK_SA |
| 23 | select SOC_INTEL_COMMON_PCH_BASE |
| 24 | select SOC_INTEL_COMMON_RESET |
| 25 | select SOC_INTEL_COMMON_BLOCK_CAR |
| 26 | select SSE2 |
| 27 | select SUPPORT_CPU_UCODE_IN_CBFS |
| 28 | select TSC_MONOTONIC_TIMER |
| 29 | select UDELAY_TSC |
Subrata Banik | ee73594 | 2020-09-07 17:52:23 +0530 | [diff] [blame] | 30 | select UDK_202005_BINDING |
Subrata Banik | b3ced6a | 2020-08-04 13:34:03 +0530 | [diff] [blame] | 31 | |
| 32 | config DCACHE_RAM_BASE |
| 33 | default 0xfef00000 |
| 34 | |
| 35 | config DCACHE_RAM_SIZE |
| 36 | default 0x80000 |
| 37 | help |
| 38 | The size of the cache-as-ram region required during bootblock |
| 39 | and/or romstage. |
| 40 | |
| 41 | config DCACHE_BSP_STACK_SIZE |
| 42 | hex |
| 43 | default 0x40400 |
| 44 | help |
| 45 | The amount of anticipated stack usage in CAR by bootblock and |
| 46 | other stages. In the case of FSP_USES_CB_STACK default value will be |
| 47 | sum of FSP-M stack requirement(256KiB) and CB romstage stack requirement |
| 48 | (~1KiB). |
| 49 | |
| 50 | config FSP_TEMP_RAM_SIZE |
| 51 | hex |
| 52 | default 0x20000 |
| 53 | help |
| 54 | The amount of anticipated heap usage in CAR by FSP. |
| 55 | Refer to Platform FSP integration guide document to know |
| 56 | the exact FSP requirement for Heap setup. |
| 57 | |
| 58 | config IFD_CHIPSET |
| 59 | string |
| 60 | default "adl" |
| 61 | |
| 62 | config IED_REGION_SIZE |
| 63 | hex |
| 64 | default 0x400000 |
| 65 | |
| 66 | config HEAP_SIZE |
| 67 | hex |
| 68 | default 0x10000 |
| 69 | |
| 70 | config PCR_BASE_ADDRESS |
| 71 | hex |
| 72 | default 0xfd000000 |
| 73 | help |
| 74 | This option allows you to select MMIO Base Address of sideband bus. |
| 75 | |
| 76 | config MMCONF_BASE_ADDRESS |
| 77 | hex |
| 78 | default 0xc0000000 |
| 79 | |
| 80 | config CPU_BCLK_MHZ |
| 81 | int |
| 82 | default 100 |
| 83 | |
| 84 | config SOC_INTEL_COMMON_BLOCK_GSPI_CLOCK_MHZ |
| 85 | int |
| 86 | default 120 |
| 87 | |
| 88 | config DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ |
| 89 | int |
| 90 | default 133 |
| 91 | |
| 92 | config SOC_INTEL_COMMON_BLOCK_GSPI_MAX |
| 93 | int |
| 94 | default 7 |
| 95 | |
| 96 | config SOC_INTEL_I2C_DEV_MAX |
| 97 | int |
| 98 | default 6 |
| 99 | |
| 100 | config SOC_INTEL_UART_DEV_MAX |
| 101 | int |
| 102 | default 7 |
| 103 | |
| 104 | config CONSOLE_UART_BASE_ADDRESS |
| 105 | hex |
| 106 | default 0xfe032000 |
| 107 | depends on INTEL_LPSS_UART_FOR_CONSOLE |
| 108 | |
| 109 | # Clock divider parameters for 115200 baud rate |
| 110 | # Baudrate = (UART source clcok * M) /(N *16) |
| 111 | # ADL UART source clock: 120MHz |
| 112 | config SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL |
| 113 | hex |
| 114 | default 0x25a |
| 115 | |
| 116 | config SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL |
| 117 | hex |
| 118 | default 0x7fff |
| 119 | |
| 120 | config CHROMEOS |
| 121 | select CHROMEOS_RAMOOPS_DYNAMIC |
| 122 | |
| 123 | config C_ENV_BOOTBLOCK_SIZE |
| 124 | hex |
| 125 | default 0xC000 |
| 126 | |
| 127 | config CBFS_SIZE |
| 128 | hex |
| 129 | default 0x200000 |
| 130 | |
| 131 | config PRERAM_CBMEM_CONSOLE_SIZE |
| 132 | hex |
| 133 | default 0x1400 |
Subrata Banik | ee73594 | 2020-09-07 17:52:23 +0530 | [diff] [blame] | 134 | config FSP_HEADER_PATH |
| 135 | string "Location of FSP headers" |
| 136 | default "src/vendorcode/intel/fsp/fsp2_0/alderlake/" |
| 137 | |
| 138 | config FSP_FD_PATH |
| 139 | string |
| 140 | depends on FSP_USE_REPO |
| 141 | default "3rdparty/fsp/AlderLakeFspBinPkg/Fsp.fd" |
Subrata Banik | b3ced6a | 2020-08-04 13:34:03 +0530 | [diff] [blame] | 142 | endif |