[U-Boot] [PATCH 3/5] serial: zynq: Initialize uart only before relocation

Simon Glass sjg at chromium.org
Thu Jun 14 12:58:30 UTC 2018


On 14 June 2018 at 03:32, Michal Simek <michal.simek at xilinx.com> wrote:
> This issue was found when OF_LIVE was enabled that there are scrambled
> chars on the console like this:
> Chip ID:        zu3eg
> Watchdog: Started��j�   sdhci at ff160000: 0, sdhci at ff170000: 1
> In:    serial at ff010000
>
> I found a solution for this problem exactly the same as I found later in
> serial_msm fixed by:
> "serial: serial_msm: initialize uart only before relocation"
> (sha1: 7e5ad796bcd65772a87da236ae21cd536ae3a4d2)
>
> What it is happening is that output TX fifo still contains chars to be
> sent and _uart_zynq_serial_init() resets TX fifo even in the middle of
> transfer.
>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
>  drivers/serial/serial_zynq.c | 6 ++++++
>  1 file changed, 6 insertions(+)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list