fix(dcc): enable DCC also for crash console

The JTAG DCC (Debug Communication Channel) console is primary used
for debugging that's why make no sense not to setup it up as crash
console too.

Change-Id: I16e5d83f8da721657b1a10609494f835b87e5578
Signed-off-by: Michal Simek <michal.simek@amd.com>
This commit is contained in:
Michal Simek 2023-09-18 10:16:25 +02:00
parent e311b9b3dd
commit c6d9186f60

View file

@ -139,7 +139,8 @@ static void dcc_console_flush(struct console *console)
static struct dcc_console dcc_console = {
.console = {
.flags = CONSOLE_FLAG_BOOT |
CONSOLE_FLAG_RUNTIME,
CONSOLE_FLAG_RUNTIME |
CONSOLE_FLAG_CRASH,
.putc = dcc_console_putc,
.getc = dcc_console_getc,
.flush = dcc_console_flush,