coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
buildOpts.c
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #include <AGESA.h>
4 
5 #define INSTALL_FT3_SOCKET_SUPPORT TRUE
6 #define INSTALL_FAMILY_16_MODEL_0x_SUPPORT TRUE
7 
8 //#define BLDOPT_REMOVE_UDIMMS_SUPPORT TRUE
9 //#define BLDOPT_REMOVE_RDIMMS_SUPPORT TRUE
10 #define BLDOPT_REMOVE_LRDIMMS_SUPPORT TRUE
11 //#define BLDOPT_REMOVE_ECC_SUPPORT TRUE
12 #define BLDOPT_REMOVE_SRAT FALSE
13 #define BLDOPT_REMOVE_WHEA FALSE
14 #define BLDOPT_REMOVE_CRAT TRUE
15 #define BLDOPT_REMOVE_CDIT TRUE
16 
17 /* Build configuration values here. */
18 #define BLDCFG_VRM_NB_LOW_POWER_THRESHOLD 0
19 
20 #define BLDCFG_AMD_PLATFORM_TYPE AMD_PLATFORM_MOBILE
21 
22 #define BLDCFG_MEMORY_RDIMM_CAPABLE FALSE
23 #define BLDCFG_MEMORY_UDIMM_CAPABLE TRUE
24 #define BLDCFG_MEMORY_SODIMM_CAPABLE TRUE
25 #define BLDCFG_MEMORY_CHANNEL_INTERLEAVING TRUE
26 #define BLDCFG_ENABLE_ECC_FEATURE TRUE
27 #define BLDCFG_ECC_SYNC_FLOOD TRUE
28 #define BLDCFG_UMA_ALLOCATION_MODE UMA_NONE
29 #define BLDCFG_IOMMU_SUPPORT FALSE
30 
31 #define BLDCFG_CFG_GNB_HD_AUDIO TRUE
32 
33 /* Include the files that instantiate the configuration definitions. */
34 #include "cpuRegisters.h"
35 #include "cpuFamRegisters.h"
36 #include "cpuFamilyTranslation.h"
37 #include "AdvancedApi.h"
38 #include "heapManager.h"
39 #include "CreateStruct.h"
40 #include "cpuFeatures.h"
41 #include "Table.h"
42 #include "cpuEarlyInit.h"
43 #include "cpuLateInit.h"
44 #include "GnbInterface.h"
45 
46 GPIO_CONTROL hp_abm_gpio[] = {
47  { 45, Function2, GpioOutEnB | Sticky }, // Signal input APU_SD_LED
48  { 49, Function2, PullUpB | PullDown | Sticky }, // Signal output APU_ABM_LED_UID
49  { 50, Function2, PullUpB | PullDown | Sticky }, // Signal output APU_ABM_LED_HEALTH
50  { 51, Function2, GpioOut | PullUpB | PullDown | Sticky }, // Signal output APU_ABM_LED_FAULT
51  { 57, Function2, GpioOutEnB | Sticky }, // Signal input SATA_PRSNT_L
52  { 58, Function2, GpioOutEnB | Sticky }, // Signal i/o APU_HDMI_CEC
53  { 64, Function2, GpioOutEnB | Sticky }, // Signal input SWC_APU_INT_L
54  { 68, Function0, GpioOutEnB | Sticky }, // Signal input CNTRL1_PRSNT
55  { 69, Function0, GpioOutEnB | Sticky }, // Signal input CNTRL2_PRSNT
56  { 71, Function0, GpioOut | PullUpB | PullDown | Sticky }, // Signal output APU_PROCHOT_L_R
57  {-1}
58 };
59 #define BLDCFG_FCH_GPIO_CONTROL_LIST (hp_abm_gpio)
60 
61 #include <PlatformInstall.h>
GPIO_CONTROL hp_abm_gpio[]
Definition: buildOpts.c:46