Patchwork [U-Boot,2/2] OMAP3: igep00x0: add CONFIG_SYS_NS16550_BROKEN_TEMT

login
register
mail settings
Submitter Javier Martinez Canillas
Date Jan. 7, 2013, 11:35 a.m.
Message ID <1357558521-19365-2-git-send-email-javier.martinez@collabora.co.uk>
Download mbox | patch
Permalink /patch/209901/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Javier Martinez Canillas - Jan. 7, 2013, 11:35 a.m.
IGEP board PC16550D (ns16550) UART doesn't set the
Transmitter Empty (TEMT) Bit in SPL. This makes
U-Boot to hang while waiting for TEMT. Add the
CONFIG_SYS_NS16550_BROKEN_TEMT config option to
avoid this issue.

Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
---
 include/configs/igep00x0.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
Tom Rini - Jan. 11, 2013, 2:42 p.m.
On Mon, Jan 07, 2013 at 01:35:21AM -0000, Javier Martinez Canillas wrote:

> IGEP board PC16550D (ns16550) UART doesn't set the
> Transmitter Empty (TEMT) Bit in SPL. This makes
> U-Boot to hang while waiting for TEMT. Add the
> CONFIG_SYS_NS16550_BROKEN_TEMT config option to
> avoid this issue.
> 
> Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>

Applied to u-boot-ti/master, thanks!

Patch

diff --git a/include/configs/igep00x0.h b/include/configs/igep00x0.h
index 2110e64..a5912f0 100644
--- a/include/configs/igep00x0.h
+++ b/include/configs/igep00x0.h
@@ -67,6 +67,9 @@ 
 #define CONFIG_SYS_NS16550_REG_SIZE	(-4)
 #define CONFIG_SYS_NS16550_CLK		V_NS16550_CLK
 
+/* define to avoid U-Boot to hang while waiting for TEMT */
+#define CONFIG_SYS_NS16550_BROKEN_TEMT
+
 /* select serial console configuration */
 #define CONFIG_CONS_INDEX		3
 #define CONFIG_SYS_NS16550_COM3		OMAP34XX_UART3