5 #include <vendorcode/amd/agesa/f15tn/AGESA.h>
8 #include <vendorcode/amd/agesa/f15tn/Include/AdvancedApi.h>
9 #include <vendorcode/amd/agesa/f15tn/Proc/CPU/cpuFamilyTranslation.h>
10 #include <vendorcode/amd/agesa/f15tn/Proc/CPU/Feature/cpuFeatures.h>
11 #include <vendorcode/amd/agesa/f15tn/Proc/CPU/heapManager.h>
13 #include <vendorcode/amd/agesa/f15tn/Proc/Common/CreateStruct.h>
14 #include <vendorcode/amd/agesa/f15tn/Proc/CPU/cpuEarlyInit.h>
16 #include <vendorcode/amd/agesa/f15tn/Proc/Mem/mm.h>
17 #include <vendorcode/amd/agesa/f15tn/Proc/Mem/mn.h>
20 #define INSTALL_FAMILY_15_MODEL_1x_SUPPORT TRUE
23 #define INSTALL_FS1_SOCKET_SUPPORT TRUE
24 #define INSTALL_FP2_SOCKET_SUPPORT TRUE
28 #define BLDOPT_REMOVE_LRDIMMS_SUPPORT TRUE
30 #define BLDOPT_REMOVE_SRAT FALSE
31 #define BLDOPT_REMOVE_WHEA FALSE
32 #define BLDOPT_REMOVE_CRAT TRUE
35 #define BLDCFG_AMD_PLATFORM_TYPE AMD_PLATFORM_MOBILE
37 #define BLDCFG_MEMORY_RDIMM_CAPABLE FALSE
38 #define BLDCFG_MEMORY_UDIMM_CAPABLE TRUE
39 #define BLDCFG_MEMORY_SODIMM_CAPABLE TRUE
40 #define BLDCFG_MEMORY_CHANNEL_INTERLEAVING TRUE
41 #define BLDCFG_ENABLE_ECC_FEATURE TRUE
42 #define BLDCFG_ECC_SYNC_FLOOD FALSE
44 #define BLDCFG_UMA_ALLOCATION_MODE UMA_SPECIFIED
45 #define BLDCFG_UMA_ALLOCATION_SIZE 0x2000
47 #define BLDCFG_IOMMU_SUPPORT TRUE
49 #define BLDCFG_CFG_GNB_HD_AUDIO TRUE
67 #define OUTPUT_HIGH (GpioOut)
68 #define OUTPUT_LOW (0)
69 #define INPUT (GpioOutEnB)
71 #define PULL_DOWN (PullDown | PullUpB)
72 #define PULL_NONE (PullUpB)
78 #define BLDCFG_FCH_GPIO_CONTROL_LIST (lenovo_g505s_gpio)
84 #define GEVENT_PIN(gpe) ((gpe) + 0x40)
85 #define SCI_MAP_OHCI_12_0 0x58
86 #define SCI_MAP_OHCI_13_0 0x59
87 #define SCI_MAP_XHCI_10_0 0x78
88 #define SCI_MAP_PWRBTN 0x73
99 #define BLDCFG_FCH_SCI_MAP_LIST (lenovo_g505s_sci_map)
106 #include <PlatformInstall.h>
SCI_MAP_CONTROL lenovo_g505s_sci_map[]
GPIO_CONTROL lenovo_g505s_gpio[]
#define SCI_MAP_OHCI_13_0
#define SCI_MAP_OHCI_12_0
#define SCI_MAP_XHCI_10_0