[U-Boot] [PATCH] serial: serial_sh: bugfix: autoboot fails if serial console is not connected

Nobuhiro Iwamatsu iwamatsu at nigauri.org
Wed Nov 21 23:49:36 CET 2012


On Tue, Nov 20, 2012 at 4:37 PM, Tetsuyuki Kobayashi <koba at kmckk.co.jp> wrote:
> On kzm9g board (rmobile SoC), autoboot fails if serial console cable is not
> connected.  When serial cable is not connected, serial error occurs and
> some garbage comes in data register.
> sh_serial_tstc() in serial_sh.c does not check error status and misunderstand
> there is some input data.  It is the reason that autoboot fails.
> This patch adds checking error status in sh_serial_tstc().
>
> This patch is based on v2013.01-rc1 tag of u-boot master git.
>
> Signed-off-by: Tetsuyuki Kobayashi <koba at kmckk.co.jp>

Applied, thanks.
I will push this to v2013.01.

Best regards,
  Nobuhiro

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6


More information about the U-Boot mailing list