diff --git a/sof-rt5682/platform.conf b/sof-rt5682/platform.conf index 562ea9f..5675550 100644 --- a/sof-rt5682/platform.conf +++ b/sof-rt5682/platform.conf @@ -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