From: Tom Rini Date: Fri, 20 Jan 2017 22:38:41 -0500 Subject: [U-Boot] [U-Boot, v2] serial, ns16550: bugfix: ns16550 fifo not enabled In-Reply-To: <1484723149-5928-1-git-send-email-hs@denx.de> References: <1484723149-5928-1-git-send-email-hs@denx.de> Message-ID: <20170121033841.GI25981@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Jan 18, 2017 at 08:05:49AM +0100, Heiko Schocher wrote: > commit: 65f83802b7a5b "serial: 16550: Add getfcr accessor" > breaks u-boot commandline working with long commands > sending to the board. > > Since the above patch, you have to setup the fcr register. > > For board/archs which enable OF_PLATDATA, the new field > fcr in struct ns16550_platdata is not filled with a > default value ... > > This leads in not setting up the uarts fifo, which ends > in problems, when you send long commands to u-boots > commandline. > > Detected this issue with automated tbot tests on am335x > based shc board. > > The error does not popup, if you type commands. You need > to copy&paste a long command to u-boots commandshell > (or send a long command with tbot) > > Possible boards/plattforms with problems: > ./arch/arm/cpu/arm926ejs/lpc32xx/devices.c > ./arch/arm/mach-tegra/board.c > ./board/overo/overo.c > ./board/quipos/cairo/cairo.c > ./board/logicpd/omap3som/omap3logic.c > ./board/logicpd/zoom1/zoom1.c > ./board/timll/devkit8000/devkit8000.c > ./board/lg/sniper/sniper.c > ./board/ti/beagle/beagle.c > ./drivers/serial/serial_rockchip.c > > Signed-off-by: Heiko Schocher > Signed-off-by: Ladislav Michl > Tested-by: Adam Ford > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: