Commit 3104c326 authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Mark Brown

ASoC: SOF: amd: Use generic names for IPC types

Use the new SOF_IPC_TYPE_3 in core code.

No functional changes, just renaming.
Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: default avatarDaniel Baluta <daniel.baluta@nxp.com>
Reviewed-by: default avatarRander Wang <rander.wang@intel.com>
Reviewed-by: default avatarRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20230919104226.32239-6-peter.ujfalusi@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent ebe18b15
...@@ -47,16 +47,16 @@ static const struct sof_dev_desc rembrandt_desc = { ...@@ -47,16 +47,16 @@ static const struct sof_dev_desc rembrandt_desc = {
.resindex_imr_base = -1, .resindex_imr_base = -1,
.irqindex_host_ipc = -1, .irqindex_host_ipc = -1,
.chip_info = &rembrandt_chip_info, .chip_info = &rembrandt_chip_info,
.ipc_supported_mask = BIT(SOF_IPC), .ipc_supported_mask = BIT(SOF_IPC_TYPE_3),
.ipc_default = SOF_IPC, .ipc_default = SOF_IPC_TYPE_3,
.default_fw_path = { .default_fw_path = {
[SOF_IPC] = "amd/sof", [SOF_IPC_TYPE_3] = "amd/sof",
}, },
.default_tplg_path = { .default_tplg_path = {
[SOF_IPC] = "amd/sof-tplg", [SOF_IPC_TYPE_3] = "amd/sof-tplg",
}, },
.default_fw_filename = { .default_fw_filename = {
[SOF_IPC] = "sof-rmb.ri", [SOF_IPC_TYPE_3] = "sof-rmb.ri",
}, },
.nocodec_tplg_filename = "sof-acp.tplg", .nocodec_tplg_filename = "sof-acp.tplg",
.ops = &sof_rembrandt_ops, .ops = &sof_rembrandt_ops,
......
...@@ -47,16 +47,16 @@ static const struct sof_dev_desc renoir_desc = { ...@@ -47,16 +47,16 @@ static const struct sof_dev_desc renoir_desc = {
.resindex_imr_base = -1, .resindex_imr_base = -1,
.irqindex_host_ipc = -1, .irqindex_host_ipc = -1,
.chip_info = &renoir_chip_info, .chip_info = &renoir_chip_info,
.ipc_supported_mask = BIT(SOF_IPC), .ipc_supported_mask = BIT(SOF_IPC_TYPE_3),
.ipc_default = SOF_IPC, .ipc_default = SOF_IPC_TYPE_3,
.default_fw_path = { .default_fw_path = {
[SOF_IPC] = "amd/sof", [SOF_IPC_TYPE_3] = "amd/sof",
}, },
.default_tplg_path = { .default_tplg_path = {
[SOF_IPC] = "amd/sof-tplg", [SOF_IPC_TYPE_3] = "amd/sof-tplg",
}, },
.default_fw_filename = { .default_fw_filename = {
[SOF_IPC] = "sof-rn.ri", [SOF_IPC_TYPE_3] = "sof-rn.ri",
}, },
.nocodec_tplg_filename = "sof-acp.tplg", .nocodec_tplg_filename = "sof-acp.tplg",
.ops = &sof_renoir_ops, .ops = &sof_renoir_ops,
......
...@@ -45,16 +45,16 @@ static const struct sof_dev_desc vangogh_desc = { ...@@ -45,16 +45,16 @@ static const struct sof_dev_desc vangogh_desc = {
.resindex_imr_base = -1, .resindex_imr_base = -1,
.irqindex_host_ipc = -1, .irqindex_host_ipc = -1,
.chip_info = &vangogh_chip_info, .chip_info = &vangogh_chip_info,
.ipc_supported_mask = BIT(SOF_IPC), .ipc_supported_mask = BIT(SOF_IPC_TYPE_3),
.ipc_default = SOF_IPC, .ipc_default = SOF_IPC_TYPE_3,
.default_fw_path = { .default_fw_path = {
[SOF_IPC] = "amd/sof", [SOF_IPC_TYPE_3] = "amd/sof",
}, },
.default_tplg_path = { .default_tplg_path = {
[SOF_IPC] = "amd/sof-tplg", [SOF_IPC_TYPE_3] = "amd/sof-tplg",
}, },
.default_fw_filename = { .default_fw_filename = {
[SOF_IPC] = "sof-vangogh.ri", [SOF_IPC_TYPE_3] = "sof-vangogh.ri",
}, },
.nocodec_tplg_filename = "sof-acp.tplg", .nocodec_tplg_filename = "sof-acp.tplg",
.ops = &sof_vangogh_ops, .ops = &sof_vangogh_ops,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment