All: add purpose parameter to setVersion calls
All calls to setVersion now include a purpose argument, changing the
purpose string from "unknown" to "other".
Change-Id: I201db1719333b51deead2dd99c9f637c782efd6c
Signed-off-by: Daniel Hsu <Daniel-Hsu@quantatw.com>
diff --git a/bios/spi_device.cpp b/bios/spi_device.cpp
index 1af1e66..fb9f6a4 100644
--- a/bios/spi_device.cpp
+++ b/bios/spi_device.cpp
@@ -527,7 +527,8 @@
if (softwareCurrent)
{
- softwareCurrent->setVersion(getVersion());
+ softwareCurrent->setVersion(getVersion(),
+ SoftwareVersion::VersionPurpose::Host);
}
co_return;