serial: serial_xen: print U-Boot banner and others
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Thu, 15 Oct 2020 04:25:13 +0000 (13:25 +0900)
committerTom Rini <trini@konsulko.com>
Thu, 22 Oct 2020 15:26:14 +0000 (11:26 -0400)
commit18426bf02217de2e9bb2b41eaa74d769892c55ef
tree1a69cdc6d721b9f17f1c828453a46b0e850df975
parentb2424cd2f4337cd36aa635d3bc52485f150d8ae6
serial: serial_xen: print U-Boot banner and others

At present, DM_FLAG_PRE_RELOC is set only if !OF_CONTROL.
It doesn't make sense for this para-virtualized driver.

With this patch applied, you will be able to see early boot messages:

U-Boot 2020.10-00001-ge442e71a6c52-dirty (Oct 15 2020 - 11:02:25 +0900)
xenguest

Xen virtual CPU
Model: XENVM-4.15
DRAM:  128 MiB
PVBLOCK:
(XEN) gnttab_mark_dirty not implemented yet
pvblock: 0
In:    hypervisor
Out:   hypervisor
Err:   hypervisor
xenguest#

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
drivers/serial/serial_xen.c