blob: a940d1f438700f1426ae0c5649305fe8f24b66b9 [file] [log] [blame]
Sherry Zhang07b42412021-01-07 14:19:41 +08001/*
Sherry Zhang71468952022-10-19 14:09:05 +08002 * Copyright (c) 2021-2022, Arm Limited. All rights reserved.
Sherry Zhang07b42412021-01-07 14:19:41 +08003 *
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
Sherry Zhangf7e2ade2022-06-09 17:36:41 +080015/* FWU message types that distinguish FWU services. */
Sherry Zhang71468952022-10-19 14:09:05 +080016#define TFM_FWU_START 1001
17#define TFM_FWU_WRITE 1002
18#define TFM_FWU_FINISH 1003
19#define TFM_FWU_CANCEL 1004
20#define TFM_FWU_INSTALL 1005
21#define TFM_FWU_CLEAN 1006
22#define TFM_FWU_REJECT 1007
23#define TFM_FWU_REQUEST_REBOOT 1008
24#define TFM_FWU_ACCEPT 1009
25#define TFM_FWU_QUERY 1010
Sherry Zhangf7e2ade2022-06-09 17:36:41 +080026
Sherry Zhang07b42412021-01-07 14:19:41 +080027#ifdef __cplusplus
28}
29#endif
30#endif /* TFM_FWU_BOOTLOADER_DEFS_H */