]> code.ossystems Code Review - bsp/u-boot.git/commit
serial_mxc: Remove unconditional DCE setting
authorBreno Lima <breno.lima@nxp.com>
Wed, 20 Jul 2016 19:34:34 +0000 (16:34 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 21 Jul 2016 19:07:23 +0000 (16:07 -0300)
commit7be8ff4d7ecce6e0e74a717f447a76aaf66ae2f1
tree1ad6074a3722d3cc9916c8dba9317f285a7d8da5
parent6dec211862ac03a7b1bb5c4d7c76cececf20318b
serial_mxc: Remove unconditional DCE setting

Commit 83fd908f28c ("dm: imx: serial: Support DTE mode when using driver
model") breaks the serial output for the imx boards that do not use
the serial driver model.

The reason for the breakage is that it's setting UFCR_DCEDTE
unconditionally for the non-dm case.

So keep the original behavior by removing UFCR_DCEDTE setting in the
non-dm case.

Tested on mx7sabresd and mx6wandboard.

Signed-off-by: Breno Lima <breno.lima@nxp.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
drivers/serial/serial_mxc.c