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 plat_set_drtm_error(uint64_t error_code)11int plat_set_drtm_error(uint64_t error_code) 12 { 13 /* TODO: Set DRTM error in NV-storage */ 14 return 0; 15 } 16 plat_get_drtm_error(uint64_t * error_code)17int 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 } 23