pnor: Add updatable association to active PNOR FW

Add 'updateable' association to the active PNOR
firmware version object. This 'updateable' association
can be used to mark all the firmware components
which can be programmable from pnor interfaces like
Redfish.

Signed-off-by: Miguel Gomez <mgomez@mx1.ibm.com>
Change-Id: I33f7ac70c8bfa446aeb045c65c741e2d72ce108a
diff --git a/ubi/activation_ubi.cpp b/ubi/activation_ubi.cpp
index 4575a61..383dc51 100644
--- a/ubi/activation_ubi.cpp
+++ b/ubi/activation_ubi.cpp
@@ -184,6 +184,9 @@
     deleteImageManagerObject();
     // Create active association
     parent.createActiveAssociation(path);
+    // Create updateable association as this
+    // can be re-programmed.
+    parent.createUpdateableAssociation(path);
 }
 
 } // namespace updater
diff --git a/ubi/item_updater_ubi.cpp b/ubi/item_updater_ubi.cpp
index ccc540a..ae6b3fd 100644
--- a/ubi/item_updater_ubi.cpp
+++ b/ubi/item_updater_ubi.cpp
@@ -119,6 +119,10 @@
                 createActiveAssociation(path);
             }
 
+            // All updateable firmware components must expose the updateable
+            // association.
+            createUpdateableAssociation(path);
+
             // Create Activation instance for this version.
             activations.insert(
                 std::make_pair(id, std::make_unique<ActivationUbi>(