[Sound-open-firmware] [PATCH v2] platform: baytrail: use package string as the fw version

Keyon Jie yang.jie at linux.intel.com
Thu Oct 27 11:06:20 CEST 2016


On the linux driver side, it need get version infomation
from fw, including:

type -- Reef
version -- major.minor
build number
last commit id -- gID

So here we use the package string, which come from git
version, which can provide all those fw version infos.

Signed-off-by: Keyon Jie <yang.jie at linux.intel.com>
---
 src/platform/baytrail/platform.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/platform/baytrail/platform.c b/src/platform/baytrail/platform.c
index 36d4993..ea3828f 100644
--- a/src/platform/baytrail/platform.c
+++ b/src/platform/baytrail/platform.c
@@ -57,11 +57,7 @@ static const struct sst_intel_ipc_fw_ready ready = {
 	.outbox_size = MAILBOX_INBOX_SIZE,
 	.fw_info_size = sizeof(struct fw_info),
 	{
-		.info = {
-			.name = "REEF",
-			.date = __DATE__,
-			.time = __TIME__,
-		},
+		.rsvd = PACKAGE_STRING,
 	},
 };
 
-- 
2.7.4



More information about the Sound-open-firmware mailing list