]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
serial_mxc: disable new features of autobaud detection
authorEric Nelson <eric.nelson@boundarydevices.com>
Wed, 14 May 2014 23:58:03 +0000 (16:58 -0700)
committerStefano Babic <sbabic@denx.de>
Wed, 28 May 2014 15:37:47 +0000 (17:37 +0200)
commit3a5648259014abba09ea7f243b244b60660d4358
tree623e718afab8019f305053072b9f3f18b737038a
parent66ca09fc41040c9a74a3ca7d9455542467ec7e3e
serial_mxc: disable new features of autobaud detection

Bit 7 of UCR3 is described in the i.MX3x/i.MX5x/i.MX6x
reference manuals as follows:

Autobaud Detection Not Improved-. Disables new features of
autobaud detection (See Baud Rate Automatic Detection
        Protocol, for more details).

0 Autobaud detection new features selected
1 Keep old autobaud detection mechanism

On at least i.MX6DQ, i.MX6DLS and i.MX53, the "new features"
occasionally cause the receiver to get out of sync and
continuously produce received characters of '\xff'.

This patch disables the "new feature" on all boards, since
there's no support for auto-baud in U-Boot on any of them.

More details are available in this post on i.MX Community:
https://community.freescale.com/message/403254

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Stefano Babic <sbabic@denx.de>
drivers/serial/serial_mxc.c