Pankaj Gupta | e0f6c4f | 2020-12-09 14:02:40 +0530 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright 2021 NXP |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | * |
| 6 | */ |
| 7 | |
| 8 | #ifndef PLAT_WARM_RST_H |
| 9 | #define PLAT_WARM_RST_H |
| 10 | |
| 11 | #ifndef NXP_COINED_BB |
| 12 | #define ERLY_WRM_RST_FLG_FLSH_UPDT 0 |
| 13 | #endif |
| 14 | |
| 15 | #ifndef __ASSEMBLER__ |
| 16 | |
| 17 | #if defined(IMAGE_BL2) |
| 18 | uint32_t is_warm_boot(void); |
| 19 | #endif |
| 20 | |
| 21 | #if defined(IMAGE_BL31) |
| 22 | int prep_n_execute_warm_reset(void); |
| 23 | int _soc_sys_warm_reset(void); |
| 24 | #endif |
| 25 | |
| 26 | #endif /* __ASSEMBLER__ */ |
| 27 | |
| 28 | #endif /* PLAT_WARM_RST_H */ |