[PATCH] riscv/console: console-config.c update

ND nvdeshpande127 at gmail.com
Mon May 17 04:13:16 UTC 2021


This patch will help use Microchip PolarFire SoC icicle kit with RTEMS
mainline...any plan on when this will be available?

On Tue, May 11, 2021 at 11:35 AM somesh deshmukh <someshdeshmukh07 at gmail.com>
wrote:

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


More information about the devel mailing list