diff options
author | Tetsuyuki Kobayashi <koba@kmckk.co.jp> | 2012-11-19 21:37:38 +0000 |
---|---|---|
committer | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | 2012-11-30 15:06:05 +0900 |
commit | 7c791b3f0a8e42f8012f782ef56ad6e88858e7c4 (patch) | |
tree | 8e0e8935ab39212801cc68c19fe7d28ead5b7e05 /arch/arm/cpu/armv7 | |
parent | 867da0d4fe79baf78b7320b99eea4c7a78b15581 (diff) | |
download | u-boot-imx-7c791b3f0a8e42f8012f782ef56ad6e88858e7c4.zip u-boot-imx-7c791b3f0a8e42f8012f782ef56ad6e88858e7c4.tar.gz u-boot-imx-7c791b3f0a8e42f8012f782ef56ad6e88858e7c4.tar.bz2 |
serial: serial_sh: bugfix: autoboot fails if serial console is not connected
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@kmckk.co.jp>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'arch/arm/cpu/armv7')
0 files changed, 0 insertions, 0 deletions