Sherry Zhang | 07b4241 | 2021-01-07 14:19:41 +0800 | [diff] [blame] | 1 | /* |
| 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 |
| 12 | extern "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 */ |