blob: 9041fd3fc17cf231d185189594d8cb1c49e8be2f [file] [log] [blame]
Sherry Zhang07b42412021-01-07 14:19:41 +08001/*
2 * Copyright (c) 2021, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
7
8#ifndef TFM_FWU_BOOTLOADER_DEFS_H
9#define TFM_FWU_BOOTLOADER_DEFS_H
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15/* Image type identities. When porting a specific bootloader to FWU partition,
16 * the bootloader specific image types can be defined here.
17 */
18#define FWU_IMAGE_TYPE_NONSECURE 0x01U
19#define FWU_IMAGE_TYPE_SECURE 0x02U
20#define FWU_IMAGE_TYPE_FULL 0x03U
21
22#ifdef __cplusplus
23}
24#endif
25#endif /* TFM_FWU_BOOTLOADER_DEFS_H */