Browse Source

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>
Michal Simek 9 tháng trước cách đây
mục cha
commit
c6d9186f60
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      drivers/arm/dcc/dcc_console.c

+ 2 - 1
drivers/arm/dcc/dcc_console.c

@@ -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,