mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 18:14:24 +00:00

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
22 lines
391 B
C
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;
|
|
}
|