Build: Add OTP_NV_COUNTERS_RAM_EMULATION configuration.
- Add a possibility to configure OTP_NV_COUNTERS_RAM_EMULATION.
As it is done for PS_RAM_FS and ITS_RAM_FS.
- Set default OTP_NV_COUNTERS_RAM_EMULATION to 0
Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
Change-Id: Iec2eac39ab3d0379bcb7ce24e28a00716efaa807
diff --git a/config/config_base.h b/config/config_base.h
index 9879b68..811a42d 100644
--- a/config/config_base.h
+++ b/config/config_base.h
@@ -258,4 +258,9 @@
#define CONFIG_TFM_SCHEDULE_WHEN_NS_INTERRUPTED 0
#endif
+/* Enable OTP/NV_COUNTERS emulation in RAM */
+#ifndef OTP_NV_COUNTERS_RAM_EMULATION
+#define OTP_NV_COUNTERS_RAM_EMULATION 0
+#endif
+
#endif /* __CONFIG_BASE_H__ */