sof-rt5682/platform: "fix" JSL detection
ugly method to detect JSL devices which hopefully will be improved in the futurecommon-codecs
parent
ede803e1fe
commit
196e0142e1
|
@ -24,11 +24,12 @@ If.tgl {
|
|||
}
|
||||
}
|
||||
|
||||
# JSL doesn't have product_family, so use a less than ideal method of checking for each board name
|
||||
If.jsl {
|
||||
Condition {
|
||||
Type String
|
||||
String1 "${sys:class/dmi/id/product_family}"
|
||||
String2 "Google_Dedede"
|
||||
Type RegexMatch
|
||||
Regex "^(beadrix|beetley|blipper|bookem|boten|botenflex|boxy|bugzzy|common|cret|cret360|dexi|dibbi|drawcia|drawlat|drawman|drawper|galith|galith360|gallop|galnat|galnat360|galtic|galtic360|gesture|kracko|kracko360|landia|landrid|lantis|madoo|magister|maglet|maglia|maglith|magma|magneto|magolor|magpie|metaknight|oscino|pasara|peezer|pirette|pirika|sasuke|sasukette|shotzo|storo|taranza|waddledee|waddledoo)$"
|
||||
String "${sys:class/dmi/id/product_name}"
|
||||
}
|
||||
True {
|
||||
Define.jsl y
|
||||
|
|
Loading…
Reference in New Issue