blob: 395807675d0bb400a4005ece1d19a7fd26d49af9 [file] [log] [blame]
Nariman Poushin0ece80f2018-02-26 06:52:04 +00001/*
2 * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#include <bl_common.h>
8#include <debug.h>
9#include <plat_arm.h>
Sughosh Ganu18f513d2018-05-16 17:22:35 +053010#include <sgi_ras.h>
Nariman Poushin0ece80f2018-02-26 06:52:04 +000011
12void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
13 u_register_t arg2, u_register_t arg3)
14{
Nariman Poushin0ece80f2018-02-26 06:52:04 +000015 arm_bl31_early_platform_setup((void *)arg0, arg1, arg2, (void *)arg3);
16}
Sughosh Ganu18f513d2018-05-16 17:22:35 +053017
18void bl31_platform_setup(void)
19{
20 arm_bl31_platform_setup();
21
22#if RAS_EXTENSION
23 sgi_ras_intr_handler_setup();
24#endif
25}