sof-rt5682/platform: "fix" JSL detection

ugly method to detect JSL devices which hopefully will be improved in
the future
common-codecs
WeirdTreeThing 2023-11-15 21:51:04 -05:00
parent ede803e1fe
commit 196e0142e1
No known key found for this signature in database
GPG Key ID: 1F56A4B52998B851
1 changed files with 4 additions and 3 deletions

View File

@ -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 { If.jsl {
Condition { Condition {
Type String Type RegexMatch
String1 "${sys:class/dmi/id/product_family}" 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)$"
String2 "Google_Dedede" String "${sys:class/dmi/id/product_name}"
} }
True { True {
Define.jsl y Define.jsl y