| 1 |
# SPDX-License-Identifier: GPL-2.0-only |
| 2 |
|
| 3 |
config CPU_AMD_PI |
| 4 |
bool |
| 5 |
default y if CPU_AMD_PI_00730F01 |
| 6 |
default n |
| 7 |
select ARCH_X86 |
| 8 |
select DRIVERS_AMD_PI |
| 9 |
select TSC_SYNC_LFENCE |
| 10 |
select UDELAY_LAPIC |
| 11 |
select LAPIC_MONOTONIC_TIMER |
| 12 |
select SPI_FLASH if HAVE_ACPI_RESUME |
| 13 |
select NO_SMM |
| 14 |
select SSE2 |
| 15 |
|
| 16 |
if CPU_AMD_PI |
| 17 |
|
| 18 |
config UDELAY_LAPIC_FIXED_FSB |
| 19 |
int |
| 20 |
default 200 |
| 21 |
|
| 22 |
# TODO: Sync these with definitions in PI vendorcode. |
| 23 |
# DCACHE_RAM_BASE must equal BSP_STACK_BASE_ADDR. |
| 24 |
# DCACHE_RAM_SIZE must equal BSP_STACK_SIZE. |
| 25 |
|
| 26 |
config DCACHE_RAM_BASE |
| 27 |
hex |
| 28 |
default 0x30000 |
| 29 |
|
| 30 |
config DCACHE_RAM_SIZE |
| 31 |
hex |
| 32 |
default 0x10000 |
| 33 |
|
| 34 |
config DCACHE_BSP_STACK_SIZE |
| 35 |
hex |
| 36 |
default 0x4000 |
| 37 |
|
| 38 |
endif # CPU_AMD_PI |
| 39 |
|
| 40 |
source "src/cpu/amd/pi/00730F01/Kconfig" |