Browse Source

Merge changes from topic "dcc-console" into integration

* changes:
  fix(dcc): enable DCC also for crash console
  build(changelog): add new scope for DCC
Joanna Farley 7 months ago
parent
commit
159ebbfe80
2 changed files with 5 additions and 1 deletions
  1. 3 0
      changelog.yaml
  2. 2 1
      drivers/arm/dcc/dcc_console.c

+ 3 - 0
changelog.yaml

@@ -609,6 +609,9 @@ subsections:
           - plat/xilinx
 
         subsections:
+          - title: DCC (Debug Communication Channel)
+            scope: dcc
+
           - title: Versal
             scope: versal
 

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

@@ -137,7 +137,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,
 #if ENABLE_CONSOLE_GETC
 		.getc = dcc_console_getc,