mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 17:44:19 +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
20 lines
367 B
C
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();
|
|
}
|