1 /*
2 * Copyright (c) 2019-2026, Renesas Electronics Corporation. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7 #include <assert.h>
8
9 #include <drivers/renesas/rcar/console/console.h>
10 #include "scif.h"
11
12 #include "rcar_private.h"
13
14 /* RAS functions common to AArch64 ARM platforms */
plat_ea_handler(unsigned int ea_reason,uint64_t syndrome,void * cookie,void * handle,uint64_t flags)15 void plat_ea_handler(unsigned int ea_reason, uint64_t syndrome, void *cookie,
16 void *handle, uint64_t flags)
17 {
18 }
19
rcar_console_boot_init(void)20 void rcar_console_boot_init(void)
21 {
22 console_renesas_register(0, 0, 0, CONSOLE_FLAG_BOOT);
23 }
24
rcar_console_runtime_init(void)25 void rcar_console_runtime_init(void)
26 {
27 console_renesas_register(1, 0, 0,
28 CONSOLE_FLAG_BOOT | CONSOLE_FLAG_RUNTIME |
29 CONSOLE_FLAG_CRASH);
30 }
31