blob: be4d43294f1e178d9aee0cd8abfd3463bb9b4ea9 [file] [log] [blame]
Felix Helddc2d3562020-12-02 14:38:53 +01001# SPDX-License-Identifier: GPL-2.0-only
2
3config SOC_AMD_CEZANNE
4 bool
5 help
6 AMD Cezanne support
7
8if SOC_AMD_CEZANNE
9
10config SOC_SPECIFIC_OPTIONS
11 def_bool y
12 select ARCH_BOOTBLOCK_X86_32
13 select ARCH_VERSTAGE_X86_32
14 select ARCH_ROMSTAGE_X86_32
15 select ARCH_RAMSTAGE_X86_32
Felix Held44f41532020-12-09 02:01:16 +010016 select HAVE_CF9_RESET
Felix Held4be064a2020-12-08 17:21:04 +010017 select IOAPIC
Felix Helddc2d3562020-12-02 14:38:53 +010018 select RESET_VECTOR_IN_RAM
19 select SOC_AMD_COMMON
Felix Held64de2c12020-12-05 20:53:59 +010020 select SOC_AMD_COMMON_BLOCK_ACPIMMIO
Felix Helddc2d3562020-12-02 14:38:53 +010021 select SOC_AMD_COMMON_BLOCK_NONCAR
22 select SOC_AMD_COMMON_BLOCK_PCI_MMCONF
Felix Held4be064a2020-12-08 17:21:04 +010023 select SOC_AMD_COMMON_BLOCK_SMBUS
Felix Held65783fb2020-12-04 17:38:46 +010024 select SOC_AMD_COMMON_BLOCK_TSC_FAM17H_19H
Felix Helddc2d3562020-12-02 14:38:53 +010025
26config EARLY_RESERVED_DRAM_BASE
27 hex
28 default 0x2000000
29 help
30 This variable defines the base address of the DRAM which is reserved
31 for usage by coreboot in early stages (i.e. before ramstage is up).
32 This memory gets reserved in BIOS tables to ensure that the OS does
33 not use it, thus preventing corruption of OS memory in case of S3
34 resume.
35
36config EARLYRAM_BSP_STACK_SIZE
37 hex
38 default 0x1000
39
40config PSP_APOB_DRAM_ADDRESS
41 hex
42 default 0x2001000
43 help
44 Location in DRAM where the PSP will copy the AGESA PSP Output
45 Block.
46
47config PRERAM_CBMEM_CONSOLE_SIZE
48 hex
49 default 0x1600
50 help
51 Increase this value if preram cbmem console is getting truncated
52
Felix Helddc2d3562020-12-02 14:38:53 +010053config C_ENV_BOOTBLOCK_SIZE
54 hex
55 default 0x10000
56 help
57 Sets the size of the bootblock stage that should be loaded in DRAM.
58 This variable controls the DRAM allocation size in linker script
59 for bootblock stage.
60
Felix Helddc2d3562020-12-02 14:38:53 +010061config ROMSTAGE_ADDR
62 hex
63 default 0x2040000
64 help
65 Sets the address in DRAM where romstage should be loaded.
66
67config ROMSTAGE_SIZE
68 hex
69 default 0x80000
70 help
71 Sets the size of DRAM allocation for romstage in linker script.
72
73config FSP_M_ADDR
74 hex
75 default 0x20C0000
76 help
77 Sets the address in DRAM where FSP-M should be loaded. cbfstool
78 performs relocation of FSP-M to this address.
79
80config FSP_M_SIZE
81 hex
82 default 0x80000
83 help
84 Sets the size of DRAM allocation for FSP-M in linker script.
85
86config RAMBASE
87 hex
88 default 0x10000000
89
90config CPU_ADDR_BITS
91 int
92 default 48
93
94config MMCONF_BASE_ADDRESS
95 hex
96 default 0xF8000000
97
98config MMCONF_BUS_NUMBER
99 int
100 default 64
101
102endif # SOC_AMD_CEZANNE