blob: fe248c609757f7668ab933d5811466f1a3dfa9a7 [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
16 select RESET_VECTOR_IN_RAM
17 select SOC_AMD_COMMON
Felix Held64de2c12020-12-05 20:53:59 +010018 select SOC_AMD_COMMON_BLOCK_ACPIMMIO
Felix Helddc2d3562020-12-02 14:38:53 +010019 select SOC_AMD_COMMON_BLOCK_NONCAR
20 select SOC_AMD_COMMON_BLOCK_PCI_MMCONF
Felix Held65783fb2020-12-04 17:38:46 +010021 select SOC_AMD_COMMON_BLOCK_TSC_FAM17H_19H
Felix Helddc2d3562020-12-02 14:38:53 +010022
23config EARLY_RESERVED_DRAM_BASE
24 hex
25 default 0x2000000
26 help
27 This variable defines the base address of the DRAM which is reserved
28 for usage by coreboot in early stages (i.e. before ramstage is up).
29 This memory gets reserved in BIOS tables to ensure that the OS does
30 not use it, thus preventing corruption of OS memory in case of S3
31 resume.
32
33config EARLYRAM_BSP_STACK_SIZE
34 hex
35 default 0x1000
36
37config PSP_APOB_DRAM_ADDRESS
38 hex
39 default 0x2001000
40 help
41 Location in DRAM where the PSP will copy the AGESA PSP Output
42 Block.
43
44config PRERAM_CBMEM_CONSOLE_SIZE
45 hex
46 default 0x1600
47 help
48 Increase this value if preram cbmem console is getting truncated
49
Felix Helddc2d3562020-12-02 14:38:53 +010050config C_ENV_BOOTBLOCK_SIZE
51 hex
52 default 0x10000
53 help
54 Sets the size of the bootblock stage that should be loaded in DRAM.
55 This variable controls the DRAM allocation size in linker script
56 for bootblock stage.
57
Felix Helddc2d3562020-12-02 14:38:53 +010058config ROMSTAGE_ADDR
59 hex
60 default 0x2040000
61 help
62 Sets the address in DRAM where romstage should be loaded.
63
64config ROMSTAGE_SIZE
65 hex
66 default 0x80000
67 help
68 Sets the size of DRAM allocation for romstage in linker script.
69
70config FSP_M_ADDR
71 hex
72 default 0x20C0000
73 help
74 Sets the address in DRAM where FSP-M should be loaded. cbfstool
75 performs relocation of FSP-M to this address.
76
77config FSP_M_SIZE
78 hex
79 default 0x80000
80 help
81 Sets the size of DRAM allocation for FSP-M in linker script.
82
83config RAMBASE
84 hex
85 default 0x10000000
86
87config CPU_ADDR_BITS
88 int
89 default 48
90
91config MMCONF_BASE_ADDRESS
92 hex
93 default 0xF8000000
94
95config MMCONF_BUS_NUMBER
96 int
97 default 64
98
99endif # SOC_AMD_CEZANNE