aboutsummaryrefslogtreecommitdiff
path: root/platform/include
diff options
context:
space:
mode:
Diffstat (limited to 'platform/include')
-rw-r--r--platform/include/tfm_plat_config.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/platform/include/tfm_plat_config.h b/platform/include/tfm_plat_config.h
new file mode 100644
index 0000000000..448964d3d6
--- /dev/null
+++ b/platform/include/tfm_plat_config.h
@@ -0,0 +1,24 @@
+/*
+ * Copyright (c) 2020, Arm Limited. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
+ */
+#ifndef __TFM_PLAT_CONFIG_H__
+#define __TFM_PLAT_CONFIG_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Enable the multiple data section copy and bss section clear feature
+ * in GNUARM low level start-up.
+ */
+#define __STARTUP_COPY_MULTIPLE
+#define __STARTUP_CLEAR_BSS_MULTIPLE
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __TFM_PLAT_CONFIG_H__ */ \ No newline at end of file