blob: 75c5199d7e7c17375d2ac7e611e1d3356b942065 [file] [log] [blame]
Masahiro Yamada2a4fe4f2018-02-01 18:42:24 +09001/*
2 * Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#include <arch_helpers.h>
8#include <platform.h>
9
10/*
11 * Placeholder functions which can be redefined by each platfrom.
12 */
13
14#pragma weak plat_error_handler
15#pragma weak bl2_plat_preload_setup
16#pragma weak plat_try_next_boot_source
17
18void __dead2 plat_error_handler(int err)
19{
20 while (1)
21 wfi();
22}
23
24void bl2_plat_preload_setup(void)
25{
26}
27
28int plat_try_next_boot_source(void)
29{
30 return 0;
31}