ASoC: SOF: sof-pci-dev: use community key on all Up boards
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Fri, 19 Nov 2021 23:13:27 +0000 (17:13 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 22 Nov 2021 15:40:31 +0000 (15:40 +0000)
There are already 3 versions of the Up boards with support for the SOF
community key (ApolloLake, WhiskyLake, TigerLake). Rather than
continue to add quirks for each version, let's add a wildcard.

For WHL and TGL, the authentication supports both the SOF community
key and the firmware signed with the Intel production key. Given two
choices, the community key is the preferred option to allow developers
to sign their own firmware. The firmware signed with production key
can still be selected if needed with a kernel module
option (snd-sof-pci.fw_path="intel/sof")

Tested-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20211119231327.211946-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/sof-pci-dev.c

index bc9e7076567892ed26909ed0c1ab17320a6d1491..b4bc4f887b43e95b3141875c0a132f32e5573873 100644 (file)
@@ -64,17 +64,9 @@ static const struct dmi_system_id sof_tplg_table[] = {
 
 static const struct dmi_system_id community_key_platforms[] = {
        {
-               .ident = "Up Squared",
+               .ident = "Up boards",
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "AAEON"),
-                       DMI_MATCH(DMI_BOARD_NAME, "UP-APL01"),
-               }
-       },
-       {
-               .ident = "Up Extreme",
-               .matches = {
-                       DMI_MATCH(DMI_SYS_VENDOR, "AAEON"),
-                       DMI_MATCH(DMI_BOARD_NAME, "UP-WHL01"),
                }
        },
        {