Manish V Badarkhe | fcfe431 | 2022-07-12 21:48:04 +0100 | [diff] [blame] | 1 | /* |
2 | * Copyright (c) 2022, Arm Limited. All rights reserved. | ||||
3 | * | ||||
4 | * SPDX-License-Identifier: BSD-3-Clause | ||||
5 | */ | ||||
6 | |||||
7 | #include <stdint.h> | ||||
8 | |||||
9 | #include <plat/common/platform.h> | ||||
10 | |||||
11 | int plat_set_drtm_error(uint64_t error_code) | ||||
12 | { | ||||
13 | /* TODO: Set DRTM error in NV-storage */ | ||||
14 | return 0; | ||||
15 | } | ||||
16 | |||||
17 | int plat_get_drtm_error(uint64_t *error_code) | ||||
18 | { | ||||
19 | /* TODO: Get DRTM error from NV-storage */ | ||||
20 | *error_code = 0; | ||||
21 | return 0; | ||||
22 | } |