]> git.baikalelectronics.ru Git - uboot.git/commit
serial: zynq: Add support for serial parameters
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Fri, 25 Jun 2021 11:19:11 +0000 (20:19 +0900)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 28 Jun 2021 06:56:03 +0000 (08:56 +0200)
commit36128ff138c92760a2501c049df659c9c40c2794
tree24e5af8d802fbcb7fcd52ed1ebe43c5cd974e42b
parente3886833c9bfe875cd681b34eceadc46422eb6d9
serial: zynq: Add support for serial parameters

This adds serial parameters that include stop bit mode, parity mode,
and character length. Mark parity and space parity modes are not
supported.

At the moment, the only path to call setconfig directly is DM testing,
however, this affects the size of SPL for DM testing, so it doesn't
apply to SPL.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/serial/serial_zynq.c