[U-Boot] [PATCH 09/11] drivers: serial: serial_sifive: Skip baudrate config if no input clock

Alexander Graf agraf at suse.de
Thu Jan 17 18:25:21 UTC 2019


On 01/17/2019 11:39 AM, Anup Patel wrote:
> From: Atish Patra <atish.patra at wdc.com>
>
> It is possible that input clock is not available because clk
> device was not available and 'clock-frequency' DT property is
> also not available.
>
> In this case, instead of failing we should just skip baudrate
> config by returning zero.
>
> Signed-off-by: Atish Patra <atish.patra at wdc.com>
> Signed-off-by: Anup Patel <anup.patel at wdc.com>


Reviewed-by: Alexander Graf <agraf at suse.de>

Alex




More information about the U-Boot mailing list