payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / mainboard / amd / thatcher / buildOpts.c
blob5f21d2e2f9bc6e58435e40234f0c1886512c0081
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <AGESA.h>
5 /* Select the CPU family */
6 #define INSTALL_FAMILY_15_MODEL_1x_SUPPORT TRUE
8 /* Select the CPU socket type */
9 #define INSTALL_FS1_SOCKET_SUPPORT TRUE
10 #define INSTALL_FP2_SOCKET_SUPPORT TRUE
12 //#define BLDOPT_REMOVE_UDIMMS_SUPPORT TRUE
13 //#define BLDOPT_REMOVE_RDIMMS_SUPPORT TRUE
14 #define BLDOPT_REMOVE_LRDIMMS_SUPPORT TRUE
15 //#define BLDOPT_REMOVE_ECC_SUPPORT TRUE
16 #define BLDOPT_REMOVE_SRAT FALSE
17 #define BLDOPT_REMOVE_WHEA FALSE
18 #define BLDOPT_REMOVE_CRAT TRUE
20 /* Build configuration values here. */
21 #define BLDCFG_AMD_PLATFORM_TYPE AMD_PLATFORM_MOBILE
23 #define BLDCFG_MEMORY_RDIMM_CAPABLE FALSE
24 #define BLDCFG_MEMORY_UDIMM_CAPABLE TRUE
25 #define BLDCFG_MEMORY_SODIMM_CAPABLE TRUE
26 #define BLDCFG_MEMORY_CHANNEL_INTERLEAVING TRUE
27 #define BLDCFG_ENABLE_ECC_FEATURE TRUE
28 #define BLDCFG_ECC_SYNC_FLOOD FALSE
30 #define BLDCFG_UMA_ALLOCATION_MODE UMA_SPECIFIED
31 #define BLDCFG_UMA_ALLOCATION_SIZE 0x2000 /* (0x2000 << 16) = 512M */
33 #define BLDCFG_IOMMU_SUPPORT FALSE
35 #define BLDCFG_CFG_GNB_HD_AUDIO TRUE
37 /* Include the files that instantiate the configuration definitions. */
38 #include "cpuRegisters.h"
39 #include "cpuFamRegisters.h"
40 #include "cpuFamilyTranslation.h"
41 #include "AdvancedApi.h"
42 #include "heapManager.h"
43 #include "CreateStruct.h"
44 #include "cpuFeatures.h"
45 #include "Table.h"
46 #include "cpuEarlyInit.h"
47 #include "cpuLateInit.h"
48 #include "GnbInterface.h"
50 #define FCH_NO_XHCI_SUPPORT TRUE
52 CONST GPIO_CONTROL thatcher_gpio[] = {
53 {183, Function1, PullUpB},
54 {-1}
56 #define BLDCFG_FCH_GPIO_CONTROL_LIST (thatcher_gpio)
58 #include <PlatformInstall.h>