Platform: Extend NV counter interface

This patch adds the tfm_plat_set_nv_counter() function to the NV counter
interface for supported platforms: AN521, AN519, Musca-A and Musca-B1.
To set a NV counter to a specified value can take a lot of time and
leads to early flash wear out when incrementing the counter by one.

Change-Id: I8702de54d373aff3201669540c541a24815cf09b
Signed-off-by: David Vincze <david.vincze@arm.com>
diff --git a/platform/include/tfm_plat_defs.h b/platform/include/tfm_plat_defs.h
index f0b4297..ffe61f6 100644
--- a/platform/include/tfm_plat_defs.h
+++ b/platform/include/tfm_plat_defs.h
@@ -19,6 +19,8 @@
     TFM_PLAT_ERR_SUCCESS = 0,
     TFM_PLAT_ERR_SYSTEM_ERR,
     TFM_PLAT_ERR_MAX_VALUE,
+    TFM_PLAT_ERR_INVALID_INPUT,
+    TFM_PLAT_ERR_UNSUPPORTED,
     /* Following entry is only to ensure the error code of int size */
     TFM_PLAT_ERR_FORCE_INT_SIZE = INT_MAX
 };