aboutsummaryrefslogtreecommitdiff
path: root/interface/include/tfm_fwu_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'interface/include/tfm_fwu_defs.h')
-rw-r--r--interface/include/tfm_fwu_defs.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/interface/include/tfm_fwu_defs.h b/interface/include/tfm_fwu_defs.h
new file mode 100644
index 0000000000..9041fd3fc1
--- /dev/null
+++ b/interface/include/tfm_fwu_defs.h
@@ -0,0 +1,25 @@
+/*
+ * Copyright (c) 2021, Arm Limited. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
+ */
+
+#ifndef TFM_FWU_BOOTLOADER_DEFS_H
+#define TFM_FWU_BOOTLOADER_DEFS_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Image type identities. When porting a specific bootloader to FWU partition,
+ * the bootloader specific image types can be defined here.
+ */
+#define FWU_IMAGE_TYPE_NONSECURE 0x01U
+#define FWU_IMAGE_TYPE_SECURE 0x02U
+#define FWU_IMAGE_TYPE_FULL 0x03U
+
+#ifdef __cplusplus
+}
+#endif
+#endif /* TFM_FWU_BOOTLOADER_DEFS_H */