mb/google/skyrim: Enable ACPI tables
[coreboot.git] / util / intelp2m / platforms / apl / template.go
blob823b321f3d81b46317151cd4ad499d15a64d82ca
1 package apl
3 import "../common"
5 // GroupNameExtract - This function extracts the group ID, if it exists in a row
6 // line : string from the configuration file
7 // return
8 // bool : true if the string contains a group identifier
9 // string : group identifier
10 func (PlatformSpecific) GroupNameExtract(line string) (bool, string) {
11 // Not supported
12 return false, ""
15 // KeywordCheck - This function is used to filter parsed lines of the configuration file and
16 // returns true if the keyword is contained in the line.
17 // line : string from the configuration file
18 func (PlatformSpecific) KeywordCheck(line string) bool {
19 isIncluded, _ := common.KeywordsCheck(line,
20 "GPIO_", "TCK", "TRST_B", "TMS", "TDI", "CX_PMODE", "CX_PREQ_B", "JTAGX", "CX_PRDY_B",
21 "TDO", "CNV_BRI_DT", "CNV_BRI_RSP", "CNV_RGI_DT", "CNV_RGI_RSP", "SVID0_ALERT_B",
22 "SVID0_DATA", "SVID0_CLK", "PMC_SPI_FS", "PMC_SPI_RXD", "PMC_SPI_TXD", "PMC_SPI_CLK",
23 "PMIC_PWRGOOD", "PMIC_RESET_B", "PMIC_THERMTRIP_B", "PMIC_STDBY", "PROCHOT_B",
24 "PMIC_I2C_SCL", "PMIC_I2C_SDA", "FST_SPI_CLK_FB", "OSC_CLK_OUT_", "PMU_AC_PRESENT",
25 "PMU_BATLOW_B", "PMU_PLTRST_B", "PMU_PWRBTN_B", "PMU_RESETBUTTON_B", "PMU_SLP_S0_B",
26 "PMU_SLP_S3_B", "PMU_SLP_S4_B", "PMU_SUSCLK", "PMU_WAKE_B", "SUS_STAT_B", "SUSPWRDNACK",
27 "SMB_ALERTB", "SMB_CLK", "SMB_DATA", "LPC_ILB_SERIRQ", "LPC_CLKOUT", "LPC_AD", "LPC_CLKRUNB",
28 "LPC_FRAMEB")
29 return isIncluded