arm-trusted-firmware/plat/arm/board/fvp/fvp_drtm_err.c
Manish V Badarkhe 586f60cc57 feat(fvp): add plat API to set and get the DRTM error
Added a platform function to set and get DRTM error.
Also, added a platform function to reset the system.

Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
Change-Id: I471f2387f8c78b21a06af063a6fa02cda3646557
2022-10-05 15:25:28 +01:00

22 lines
391 B
C

/*
* Copyright (c) 2022, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <stdint.h>
#include <plat/common/platform.h>
int plat_set_drtm_error(uint64_t error_code)
{
/* TODO: Set DRTM error in NV-storage */
return 0;
}
int plat_get_drtm_error(uint64_t *error_code)
{
/* TODO: Get DRTM error from NV-storage */
*error_code = 0;
return 0;
}