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