Felix Held | 4a8cd72 | 2020-04-18 22:26:39 +0200 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Marc Jones | 2448484 | 2017-05-04 21:17:45 -0600 | [diff] [blame] | 2 | |
Marshall Dawson | 6851922 | 2019-11-25 11:36:15 -0700 | [diff] [blame] | 3 | config SOC_AMD_STONEYRIDGE |
| 4 | bool |
| 5 | help |
| 6 | AMD support for SOCs in Family 15h Models 60h-6Fh and Models 70h-7Fh. |
| 7 | |
| 8 | if SOC_AMD_STONEYRIDGE |
| 9 | |
Marc Jones | 21cde8b | 2017-05-07 16:47:36 -0600 | [diff] [blame] | 10 | config CPU_SPECIFIC_OPTIONS |
| 11 | def_bool y |
Marshall Dawson | 68592c3 | 2017-11-06 10:56:52 -0700 | [diff] [blame] | 12 | select ACPI_AMD_HARDWARE_SLEEP_VALUES |
Felix Held | c07c7c9 | 2020-12-04 18:50:53 +0100 | [diff] [blame] | 13 | select ARCH_ALL_STAGES_X86_32 |
| 14 | select BOOT_DEVICE_SUPPORTS_WRITES if BOOT_DEVICE_SPI_FLASH |
Aaron Durbin | 51e4c1a | 2018-01-24 17:42:51 -0700 | [diff] [blame] | 15 | select COLLECT_TIMESTAMPS_NO_TSC |
Chris Ching | 6fc39d4 | 2017-12-20 16:06:03 -0700 | [diff] [blame] | 16 | select DRIVERS_I2C_DESIGNWARE |
Marc Jones | 9156cac | 2017-07-12 11:05:38 -0600 | [diff] [blame] | 17 | select GENERIC_GPIO_LIB |
Aaron Durbin | 51e4c1a | 2018-01-24 17:42:51 -0700 | [diff] [blame] | 18 | select GENERIC_UDELAY |
Angel Pons | b74975e | 2020-07-13 01:12:57 +0200 | [diff] [blame] | 19 | select HAVE_CF9_RESET |
Felix Held | c07c7c9 | 2020-12-04 18:50:53 +0100 | [diff] [blame] | 20 | select HAVE_SMI_HANDLER |
Marc Jones | 2448484 | 2017-05-04 21:17:45 -0600 | [diff] [blame] | 21 | select HAVE_USBDEBUG_OPTIONS |
Felix Held | c07c7c9 | 2020-12-04 18:50:53 +0100 | [diff] [blame] | 22 | select IOAPIC |
Marshall Dawson | a7bfbbe | 2017-09-13 17:24:53 -0600 | [diff] [blame] | 23 | select PARALLEL_MP |
Marc Jones | 33eef13 | 2017-10-26 16:50:42 -0600 | [diff] [blame] | 24 | select PARALLEL_MP_AP_WORK |
Marc Jones | 17e85ad | 2017-12-20 16:21:25 -0700 | [diff] [blame] | 25 | select RTC |
Felix Held | c07c7c9 | 2020-12-04 18:50:53 +0100 | [diff] [blame] | 26 | select SOC_AMD_PI |
| 27 | select SOC_AMD_COMMON |
| 28 | select SOC_AMD_COMMON_BLOCK_ACPI |
| 29 | select SOC_AMD_COMMON_BLOCK_ACPIMMIO |
| 30 | select SOC_AMD_COMMON_BLOCK_AOAC |
| 31 | select SOC_AMD_COMMON_BLOCK_BANKED_GPIOS |
| 32 | select SOC_AMD_COMMON_BLOCK_CAR |
| 33 | select SOC_AMD_COMMON_BLOCK_HDA |
| 34 | select SOC_AMD_COMMON_BLOCK_IOMMU |
| 35 | select SOC_AMD_COMMON_BLOCK_LPC |
| 36 | select SOC_AMD_COMMON_BLOCK_PCI |
| 37 | select SOC_AMD_COMMON_BLOCK_PI |
| 38 | select SOC_AMD_COMMON_BLOCK_PSP_GEN1 |
| 39 | select SOC_AMD_COMMON_BLOCK_S3 |
| 40 | select SOC_AMD_COMMON_BLOCK_SATA |
| 41 | select SOC_AMD_COMMON_BLOCK_SMBUS |
| 42 | select SOC_AMD_COMMON_BLOCK_SMI |
| 43 | select SOC_AMD_COMMON_BLOCK_SPI |
| 44 | select SSE2 |
| 45 | select TSC_SYNC_LFENCE |
| 46 | select X86_AMD_FIXED_MTRRS |
Marc Jones | 2448484 | 2017-05-04 21:17:45 -0600 | [diff] [blame] | 47 | |
Marshall Dawson | 12294d0 | 2019-11-25 07:21:18 -0700 | [diff] [blame] | 48 | config AMD_APU_STONEYRIDGE |
| 49 | bool |
| 50 | help |
| 51 | AMD Stoney Ridge APU |
| 52 | |
Marshall Dawson | e1988f5 | 2019-11-25 11:15:35 -0700 | [diff] [blame] | 53 | config AMD_APU_PRAIRIEFALCON |
| 54 | bool |
| 55 | help |
| 56 | AMD Embedded Prairie Falcon APU |
| 57 | |
Marshall Dawson | 12294d0 | 2019-11-25 07:21:18 -0700 | [diff] [blame] | 58 | config AMD_APU_MERLINFALCON |
| 59 | bool |
| 60 | help |
Marshall Dawson | e1988f5 | 2019-11-25 11:15:35 -0700 | [diff] [blame] | 61 | AMD Embedded Merlin Falcon APU |
Marshall Dawson | 12294d0 | 2019-11-25 07:21:18 -0700 | [diff] [blame] | 62 | |
Marshall Dawson | 3ac0ab5 | 2019-11-24 19:03:56 -0700 | [diff] [blame] | 63 | config AMD_APU_PKG_FP4 |
| 64 | bool |
| 65 | help |
| 66 | AMD FP4 package |
| 67 | |
| 68 | config AMD_APU_PKG_FT4 |
| 69 | bool |
| 70 | help |
| 71 | AMD FT4 package |
| 72 | |
| 73 | config AMD_SOC_PACKAGE |
| 74 | string |
| 75 | default "FP4" if AMD_APU_PKG_FP4 |
| 76 | default "FT4" if AMD_APU_PKG_FT4 |
| 77 | |
Marshall Dawson | e7557de | 2017-06-09 16:35:14 -0600 | [diff] [blame] | 78 | config VBOOT |
Marshall Dawson | e7557de | 2017-06-09 16:35:14 -0600 | [diff] [blame] | 79 | select VBOOT_SEPARATE_VERSTAGE |
| 80 | select VBOOT_STARTS_IN_BOOTBLOCK |
Marc Jones | 4c887ea | 2018-04-25 16:43:18 -0600 | [diff] [blame] | 81 | select VBOOT_VBNV_CMOS |
| 82 | select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH |
Marshall Dawson | e7557de | 2017-06-09 16:35:14 -0600 | [diff] [blame] | 83 | |
Marc Jones | 21cde8b | 2017-05-07 16:47:36 -0600 | [diff] [blame] | 84 | # TODO: Sync these with definitions in PI vendorcode. |
| 85 | # DCACHE_RAM_BASE must equal BSP_STACK_BASE_ADDR. |
| 86 | # DCACHE_RAM_SIZE must equal BSP_STACK_SIZE. |
| 87 | |
| 88 | config DCACHE_RAM_BASE |
| 89 | hex |
| 90 | default 0x30000 |
| 91 | |
| 92 | config DCACHE_RAM_SIZE |
| 93 | hex |
| 94 | default 0x10000 |
| 95 | |
Marshall Dawson | 9df969a | 2017-07-25 18:46:46 -0600 | [diff] [blame] | 96 | config DCACHE_BSP_STACK_SIZE |
Marshall Dawson | 9df969a | 2017-07-25 18:46:46 -0600 | [diff] [blame] | 97 | hex |
| 98 | default 0x4000 |
| 99 | help |
| 100 | The amount of anticipated stack usage in CAR by bootblock and |
| 101 | other stages. |
| 102 | |
Marshall Dawson | 7c3f1e7 | 2017-08-24 09:59:10 -0600 | [diff] [blame] | 103 | config PRERAM_CBMEM_CONSOLE_SIZE |
| 104 | hex |
Marshall Dawson | 1df6bc6 | 2017-12-19 20:41:29 -0700 | [diff] [blame] | 105 | default 0x1600 |
Marshall Dawson | 7c3f1e7 | 2017-08-24 09:59:10 -0600 | [diff] [blame] | 106 | help |
| 107 | Increase this value if preram cbmem console is getting truncated |
| 108 | |
Marc Jones | 21cde8b | 2017-05-07 16:47:36 -0600 | [diff] [blame] | 109 | config CPU_ADDR_BITS |
| 110 | int |
| 111 | default 48 |
| 112 | |
Marc Jones | 1587dc8 | 2017-05-15 18:55:11 -0600 | [diff] [blame] | 113 | config BOTTOMIO_POSITION |
| 114 | hex "Bottom of 32-bit IO space" |
| 115 | default 0xD0000000 |
| 116 | help |
| 117 | If PCI peripherals with big BARs are connected to the system |
| 118 | the bottom of the IO must be decreased to allocate such |
| 119 | devices. |
| 120 | |
| 121 | Declare the beginning of the 128MB-aligned MMIO region. This |
| 122 | option is useful when PCI peripherals requesting large address |
| 123 | ranges are present. |
| 124 | |
Marc Jones | 1587dc8 | 2017-05-15 18:55:11 -0600 | [diff] [blame] | 125 | config MMCONF_BASE_ADDRESS |
| 126 | hex |
| 127 | default 0xF8000000 |
| 128 | |
| 129 | config MMCONF_BUS_NUMBER |
| 130 | int |
| 131 | default 64 |
| 132 | |
| 133 | config VGA_BIOS_ID |
| 134 | string |
Marshall Dawson | 12294d0 | 2019-11-25 07:21:18 -0700 | [diff] [blame] | 135 | default "1002,9874" if AMD_APU_MERLINFALCON |
Marc Jones | 1587dc8 | 2017-05-15 18:55:11 -0600 | [diff] [blame] | 136 | default "1002,98e4" |
| 137 | help |
| 138 | The default VGA BIOS PCI vendor/device ID should be set to the |
| 139 | result of the map_oprom_vendev() function in northbridge.c. |
| 140 | |
| 141 | config VGA_BIOS_FILE |
| 142 | string |
Marshall Dawson | 7987c1c | 2019-11-25 08:29:28 -0700 | [diff] [blame] | 143 | default "3rdparty/amd_blobs/stoneyridge/CarrizoGenericVbios.bin" if AMD_APU_MERLINFALCON |
Marshall Dawson | e1988f5 | 2019-11-25 11:15:35 -0700 | [diff] [blame] | 144 | default "3rdparty/amd_blobs/stoneyridge/StoneyGenericVbios.bin" if AMD_APU_PRAIRIEFALCON |
| 145 | default "3rdparty/amd_blobs/stoneyridge/StoneyGenericVbios.bin" if AMD_APU_STONEYRIDGE |
Marc Jones | 1587dc8 | 2017-05-15 18:55:11 -0600 | [diff] [blame] | 146 | |
Marshall Dawson | 668dea0 | 2017-11-29 09:57:15 -0700 | [diff] [blame] | 147 | config S3_VGA_ROM_RUN |
| 148 | bool |
| 149 | default n |
| 150 | |
Marc Jones | 1587dc8 | 2017-05-15 18:55:11 -0600 | [diff] [blame] | 151 | config HEAP_SIZE |
| 152 | hex |
| 153 | default 0xc0000 |
| 154 | |
Marc Jones | 2448484 | 2017-05-04 21:17:45 -0600 | [diff] [blame] | 155 | config EHCI_BAR |
| 156 | hex |
| 157 | default 0xfef00000 |
| 158 | |
| 159 | config STONEYRIDGE_XHCI_ENABLE |
| 160 | bool "Enable Stoney Ridge XHCI Controller" |
| 161 | default y |
| 162 | help |
| 163 | The XHCI controller must be enabled and the XHCI firmware |
| 164 | must be added in order to have USB 3.0 support configured |
| 165 | by coreboot. The OS will be responsible for enabling the XHCI |
Jonathan Neuschäfer | 45e6c82 | 2018-12-11 17:53:07 +0100 | [diff] [blame] | 166 | controller if the XHCI firmware is available but the |
Marc Jones | 2448484 | 2017-05-04 21:17:45 -0600 | [diff] [blame] | 167 | XHCI controller is not enabled by coreboot. |
| 168 | |
| 169 | config STONEYRIDGE_XHCI_FWM |
| 170 | bool "Add xhci firmware" |
| 171 | default y |
| 172 | help |
| 173 | Add Stoney Ridge XHCI Firmware to support the onboard USB 3.0 |
| 174 | |
Marc Jones | 2448484 | 2017-05-04 21:17:45 -0600 | [diff] [blame] | 175 | config STONEYRIDGE_GEC_FWM |
| 176 | bool |
| 177 | default n |
| 178 | help |
| 179 | Add Stoney Ridge GEC Firmware to support the onboard gigabit Ethernet MAC. |
| 180 | Must be connected to a Broadcom B50610 or B50610M PHY on the motherboard. |
| 181 | |
| 182 | config STONEYRIDGE_XHCI_FWM_FILE |
| 183 | string "XHCI firmware path and filename" |
Marshall Dawson | 7987c1c | 2019-11-25 08:29:28 -0700 | [diff] [blame] | 184 | default "3rdparty/amd_blobs/stoneyridge/xhci.bin" |
Marc Jones | 2448484 | 2017-05-04 21:17:45 -0600 | [diff] [blame] | 185 | depends on STONEYRIDGE_XHCI_FWM |
| 186 | |
Marc Jones | 2448484 | 2017-05-04 21:17:45 -0600 | [diff] [blame] | 187 | config STONEYRIDGE_GEC_FWM_FILE |
| 188 | string "GEC firmware path and filename" |
| 189 | depends on STONEYRIDGE_GEC_FWM |
| 190 | |
Zheng Bao | c5e28ab | 2020-10-28 11:38:09 +0800 | [diff] [blame] | 191 | config AMDFW_CONFIG_FILE |
| 192 | string |
| 193 | string "AMD PSP Firmware config file" |
Zheng Bao | c5e28ab | 2020-10-28 11:38:09 +0800 | [diff] [blame] | 194 | default "src/soc/amd/stoneyridge/fw_cz.cfg" if AMD_APU_MERLINFALCON |
| 195 | default "src/soc/amd/stoneyridge/fw_st.cfg" if AMD_APU_PRAIRIEFALCON |
| 196 | default "src/soc/amd/stoneyridge/fw_st.cfg" if AMD_APU_STONEYRIDGE |
Marc Jones | 2448484 | 2017-05-04 21:17:45 -0600 | [diff] [blame] | 197 | |
| 198 | config STONEYRIDGE_SATA_MODE |
| 199 | int "SATA Mode" |
| 200 | default 0 |
| 201 | range 0 6 |
| 202 | help |
| 203 | Select the mode in which SATA should be driven. |
| 204 | The default is NATIVE. |
| 205 | 0: NATIVE mode does not require a ROM. |
| 206 | 2: AHCI may work with or without AHCI ROM. It depends on the payload support. |
| 207 | For example, seabios does not require the AHCI ROM. |
| 208 | 3: LEGACY IDE |
| 209 | 4: IDE to AHCI |
| 210 | 5: AHCI7804: ROM Required, and AMD driver required in the OS. |
| 211 | 6: IDE to AHCI7804: ROM Required, and AMD driver required in the OS. |
| 212 | |
| 213 | comment "NATIVE" |
| 214 | depends on STONEYRIDGE_SATA_MODE = 0 |
| 215 | |
| 216 | comment "AHCI" |
| 217 | depends on STONEYRIDGE_SATA_MODE = 2 |
| 218 | |
| 219 | comment "LEGACY IDE" |
| 220 | depends on STONEYRIDGE_SATA_MODE = 3 |
| 221 | |
| 222 | comment "IDE to AHCI" |
| 223 | depends on STONEYRIDGE_SATA_MODE = 4 |
| 224 | |
| 225 | comment "AHCI7804" |
| 226 | depends on STONEYRIDGE_SATA_MODE = 5 |
| 227 | |
| 228 | comment "IDE to AHCI7804" |
| 229 | depends on STONEYRIDGE_SATA_MODE = 6 |
| 230 | |
| 231 | if STONEYRIDGE_SATA_MODE = 2 || STONEYRIDGE_SATA_MODE = 5 |
| 232 | |
| 233 | config AHCI_ROM_ID |
| 234 | string "AHCI device PCI IDs" |
| 235 | default "1022,7801" if STONEYRIDGE_SATA_MODE = 2 |
| 236 | default "1022,7804" if STONEYRIDGE_SATA_MODE = 5 |
| 237 | |
| 238 | endif # STONEYRIDGE_SATA_MODE = 2 || STONEYRIDGE_SATA_MODE = 5 |
| 239 | |
| 240 | config STONEYRIDGE_LEGACY_FREE |
| 241 | bool "System is legacy free" |
| 242 | help |
| 243 | Select y if there is no keyboard controller in the system. |
| 244 | This sets variables in AGESA and ACPI. |
| 245 | |
Marc Jones | 2448484 | 2017-05-04 21:17:45 -0600 | [diff] [blame] | 246 | config SERIRQ_CONTINUOUS_MODE |
| 247 | bool |
| 248 | default n |
| 249 | help |
| 250 | Set this option to y for serial IRQ in continuous mode. |
| 251 | Otherwise it is in quiet mode. |
| 252 | |
| 253 | config STONEYRIDGE_ACPI_IO_BASE |
| 254 | hex |
| 255 | default 0x400 |
| 256 | help |
| 257 | Base address for the ACPI registers. |
| 258 | This value must match the hardcoded value of AGESA. |
| 259 | |
| 260 | config STONEYRIDGE_UART |
| 261 | bool "UART controller on Stoney Ridge" |
| 262 | default n |
| 263 | select DRIVERS_UART_8250MEM |
| 264 | select DRIVERS_UART_8250MEM_32 |
| 265 | select NO_UART_ON_SUPERIO |
| 266 | select UART_OVERRIDE_REFCLK |
| 267 | help |
| 268 | There are two UART controllers in Stoney Ridge. |
| 269 | The UART registers are memory-mapped. UART |
| 270 | controller 0 registers range from FEDC_6000h |
| 271 | to FEDC_6FFFh. UART controller 1 registers |
| 272 | range from FEDC_8000h to FEDC_8FFFh. |
| 273 | |
Arthur Heymans | b5e72b6 | 2018-01-02 23:41:24 +0100 | [diff] [blame] | 274 | config CONSOLE_UART_BASE_ADDRESS |
| 275 | depends on CONSOLE_SERIAL |
| 276 | hex |
| 277 | default 0xfedc6000 |
| 278 | |
Marshall Dawson | c6ef9db | 2017-05-14 14:16:56 -0600 | [diff] [blame] | 279 | config SMM_TSEG_SIZE |
| 280 | hex |
Marshall Dawson | 0801b33 | 2017-08-25 15:29:45 -0600 | [diff] [blame] | 281 | default 0x800000 if SMM_TSEG && HAVE_SMI_HANDLER |
Marshall Dawson | c6ef9db | 2017-05-14 14:16:56 -0600 | [diff] [blame] | 282 | default 0x0 |
| 283 | |
Marshall Dawson | b617211 | 2017-09-13 17:47:31 -0600 | [diff] [blame] | 284 | config SMM_RESERVED_SIZE |
| 285 | hex |
Marshall Dawson | fceac7e | 2018-05-18 14:40:53 -0600 | [diff] [blame] | 286 | default 0x150000 |
Marshall Dawson | b617211 | 2017-09-13 17:47:31 -0600 | [diff] [blame] | 287 | |
Raul E Rangel | 846b494 | 2018-06-12 10:43:09 -0600 | [diff] [blame] | 288 | config SMM_MODULE_STACK_SIZE |
| 289 | hex |
| 290 | default 0x800 |
| 291 | |
Marc Jones | e013df9 | 2017-08-23 16:28:02 -0600 | [diff] [blame] | 292 | config ACPI_CPU_STRING |
| 293 | string |
Matt DeVillier | c08d4c5 | 2020-06-20 23:45:30 -0500 | [diff] [blame] | 294 | default "\\_SB.P%03d" |
Marc Jones | e013df9 | 2017-08-23 16:28:02 -0600 | [diff] [blame] | 295 | |
Marshall Dawson | 9a32c41 | 2018-09-04 13:29:12 -0600 | [diff] [blame] | 296 | config ACPI_BERT |
| 297 | bool "Build ACPI BERT Table" |
| 298 | default y |
| 299 | depends on HAVE_ACPI_TABLES |
| 300 | help |
| 301 | Report Machine Check errors identified in POST to the OS in an |
| 302 | ACPI Boot Error Record Table. This option reserves an 8MB region |
| 303 | for building the error structures. |
| 304 | |
Marshall Dawson | 25eb2bc | 2019-03-14 12:42:46 -0600 | [diff] [blame] | 305 | config USE_PSPSECUREOS |
Martin Roth | b617e32 | 2017-09-07 13:23:55 -0600 | [diff] [blame] | 306 | bool "Include PSP SecureOS blobs in AMD firmware" |
| 307 | default y |
| 308 | help |
| 309 | Include the PspSecureOs, PspTrustlet and TrustletKey binaries |
| 310 | in the amdfw section. |
| 311 | |
| 312 | If unsure, answer 'y' |
| 313 | |
Richard Spiegel | 1bc578a | 2019-06-18 18:19:47 -0700 | [diff] [blame] | 314 | config SOC_AMD_PSP_SELECTABLE_SMU_FW |
| 315 | bool |
Marshall Dawson | 12294d0 | 2019-11-25 07:21:18 -0700 | [diff] [blame] | 316 | default y if AMD_APU_STONEYRIDGE |
Richard Spiegel | 1bc578a | 2019-06-18 18:19:47 -0700 | [diff] [blame] | 317 | help |
| 318 | Some ST implementations allow storing SMU firmware into cbfs and |
| 319 | calling the PSP to load the blobs at the proper time. |
| 320 | |
| 321 | Merlin Falcon does not support it. If you are using 00670F00 SOC, |
| 322 | ask your AMD representative if it supports it or not. |
| 323 | |
Marshall Dawson | 5f0520a | 2017-10-30 16:11:45 -0600 | [diff] [blame] | 324 | config SOC_AMD_SMU_FANLESS |
| 325 | bool |
| 326 | depends on SOC_AMD_PSP_SELECTABLE_SMU_FW |
| 327 | default n if SOC_AMD_SMU_NOTFANLESS |
| 328 | default y |
| 329 | |
| 330 | config SOC_AMD_SMU_FANNED |
| 331 | bool |
| 332 | depends on SOC_AMD_PSP_SELECTABLE_SMU_FW |
| 333 | default n |
| 334 | select SOC_AMD_SMU_NOTFANLESS |
| 335 | |
| 336 | config SOC_AMD_SMU_NOTFANLESS # helper symbol - do not use |
| 337 | bool |
| 338 | depends on SOC_AMD_PSP_SELECTABLE_SMU_FW |
| 339 | |
Martin Roth | 30f9b95 | 2017-10-03 15:54:45 -0600 | [diff] [blame] | 340 | config AMDFW_OUTSIDE_CBFS |
| 341 | bool "The AMD firmware is outside CBFS" |
| 342 | default n |
| 343 | help |
| 344 | The AMDFW (PSP) is typically locatable in cbfs. Select this |
| 345 | option to manually attach the generated amdfw.rom outside of |
| 346 | cbfs. The location is selected by the FWM position. |
| 347 | |
Martin Roth | 6d8ef24 | 2017-09-08 14:39:35 -0600 | [diff] [blame] | 348 | config AMD_FWM_POSITION_INDEX |
| 349 | int "Firmware Directory Table location (0 to 5)" |
| 350 | range 0 5 |
| 351 | default 0 if BOARD_ROMSIZE_KB_512 |
| 352 | default 1 if BOARD_ROMSIZE_KB_1024 |
| 353 | default 2 if BOARD_ROMSIZE_KB_2048 |
| 354 | default 3 if BOARD_ROMSIZE_KB_4096 |
| 355 | default 4 if BOARD_ROMSIZE_KB_8192 |
| 356 | default 5 if BOARD_ROMSIZE_KB_16384 |
| 357 | help |
| 358 | Typically this is calculated by the ROM size, but there may |
| 359 | be situations where you want to put the firmware directory |
| 360 | table in a different location. |
| 361 | 0: 512 KB - 0xFFFA0000 |
| 362 | 1: 1 MB - 0xFFF20000 |
| 363 | 2: 2 MB - 0xFFE20000 |
| 364 | 3: 4 MB - 0xFFC20000 |
| 365 | 4: 8 MB - 0xFF820000 |
| 366 | 5: 16 MB - 0xFF020000 |
| 367 | |
| 368 | comment "AMD Firmware Directory Table set to location for 512KB ROM" |
| 369 | depends on AMD_FWM_POSITION_INDEX = 0 |
| 370 | comment "AMD Firmware Directory Table set to location for 1MB ROM" |
| 371 | depends on AMD_FWM_POSITION_INDEX = 1 |
| 372 | comment "AMD Firmware Directory Table set to location for 2MB ROM" |
| 373 | depends on AMD_FWM_POSITION_INDEX = 2 |
| 374 | comment "AMD Firmware Directory Table set to location for 4MB ROM" |
| 375 | depends on AMD_FWM_POSITION_INDEX = 3 |
| 376 | comment "AMD Firmware Directory Table set to location for 8MB ROM" |
| 377 | depends on AMD_FWM_POSITION_INDEX = 4 |
| 378 | comment "AMD Firmware Directory Table set to location for 16MB ROM" |
| 379 | depends on AMD_FWM_POSITION_INDEX = 5 |
| 380 | |
Marc Jones | 17431ab | 2017-11-16 15:26:00 -0700 | [diff] [blame] | 381 | config DIMM_SPD_SIZE |
| 382 | int |
| 383 | default 512 # DDR4 |
| 384 | |
Marc Jones | 578a79d | 2017-12-06 16:27:04 -0700 | [diff] [blame] | 385 | config RO_REGION_ONLY |
| 386 | string |
| 387 | depends on CHROMEOS |
| 388 | default "apu/amdfw" |
| 389 | |
Chris Ching | 6fc39d4 | 2017-12-20 16:06:03 -0700 | [diff] [blame] | 390 | config DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ |
| 391 | int |
| 392 | default 133 |
| 393 | |
Richard Spiegel | 6a38914 | 2018-03-05 14:28:10 -0700 | [diff] [blame] | 394 | config MAINBOARD_POWER_RESTORE |
| 395 | def_bool n |
| 396 | help |
| 397 | This option determines what state to go to once power is restored |
| 398 | after having been lost in S0. Select this option to automatically |
| 399 | return to S0. Otherwise the system will remain in S5 once power |
| 400 | is restored. |
| 401 | |
Marshall Dawson | 6851922 | 2019-11-25 11:36:15 -0700 | [diff] [blame] | 402 | endif # SOC_AMD_STONEYRIDGE |