Static layout: Implement PNOR code update
Implement the PNOR code update by pflash tool in openpower-pnor-update
service, and update the related associations.
Tested: Verify PNOR code update succeeds.
Change-Id: I53781d6420071200ac2ed6837f7a79bf5e1162c2
Signed-off-by: Lei YU <mine260309@gmail.com>
diff --git a/activation.cpp b/activation.cpp
index ce8cd07..ff48326 100644
--- a/activation.cpp
+++ b/activation.cpp
@@ -89,8 +89,7 @@
(softwareServer::Activation::activation() ==
softwareServer::Activation::Activations::Failed))
{
- Activation::activation(
- softwareServer::Activation::Activations::Activating);
+ activation(softwareServer::Activation::Activations::Activating);
}
}
return softwareServer::Activation::requestedActivation(value);