<div dir="ltr"><div>Gentle Reminder.</div><div><br></div><div>Hi All,</div><div>Can you please review this patch and let me know if there are any suggestions/comments.<br></div><div><br></div><div>Regards,</div><div>Somesh<br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>From: <b class="gmail_sendername" dir="auto">Somesh Deshmukh</b> <span dir="auto"><<a href="mailto:someshdeshmukh07@gmail.com">someshdeshmukh07@gmail.com</a>></span><br>Date: Wed, May 5, 2021 at 11:26 PM<br>Subject: [PATCH] riscv/console: console-config.c update<br>To:  <<a href="mailto:devel@rtems.org">devel@rtems.org</a>><br>Cc: Somesh Deshmukh <<a href="mailto:someshdeshmukh07@gmail.com">someshdeshmukh07@gmail.com</a>><br></div><br><br>- Parsing the sub-node should be available generic not specific to Freedom<br>
  Arty310 board. If we remove the Freedom Arty macro now, it will lose<br>
  backward compatibility.The proposed change will retain the backward<br>
  compatibility and also adds the necessary fix for parsing sub-node.<br>
---<br>
 bsps/riscv/riscv/console/console-config.c | 2 +-<br>
 1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/bsps/riscv/riscv/console/console-config.c b/bsps/riscv/riscv/console/console-config.c<br>
index d962a5a418..797506a31b 100644<br>
--- a/bsps/riscv/riscv/console/console-config.c<br>
+++ b/bsps/riscv/riscv/console/console-config.c<br>
@@ -91,7 +91,7 @@ static int riscv_get_console_node(const void *fdt)<br>
     stdout_path = "";<br>
   }<br>
<br>
-#if RISCV_ENABLE_FRDME310ARTY_SUPPORT != 0<br>
+#if ((RISCV_ENABLE_FRDME310ARTY_SUPPORT != 0) || (RISCV_CONSOLE_MAX_NS16550_DEVICES > 0))<br>
   int root;<br>
   int soc;<br>
   root = fdt_path_offset(fdt, "/");<br>
-- <br>
2.25.1<br>
<br>
</div></div></div>