arm-trusted-firmware/plat/arm/common/arm_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

20 lines
367 B
C

/*
* Copyright (c) 2015-2019, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <errno.h>
#include <plat/arm/common/plat_arm.h>
#include <plat/common/platform.h>
void __dead2 plat_error_handler(int err)
{
plat_arm_error_handler(err);
}
void __dead2 plat_system_reset(void)
{
plat_arm_system_reset();
}