i.MX31: fixed CTRL-C detection
authorJuergen Kilb <J.Kilb@gmx.de>
Sun, 8 Jun 2008 15:59:53 +0000 (17:59 +0200)
committerWolfgang Denk <wd@denx.de>
Tue, 1 Jul 2008 18:54:04 +0000 (20:54 +0200)
commitd92ea21bafb674ee2bf27447970b047845e7b0a2
treedd568faaa5210b88f7ed9d01c4bbd232e3ddb5e2
parentb571afde0295b007a45055ee49f8822c753a5651
i.MX31: fixed CTRL-C detection

The Register URXD contains status information in bits [15..8].
With status bit 15 set, CTRL-C was reported as 0x8003 instead
of 0x03. Therefore CTRL-C was not detected.
To solve this, bits [15..8] were masked out now.

Signed-off-by: Juergen Kilb <J.Kilb@gmx.de>
Acked-by: Felix Radensky <felix@embedded-sol.com>
cpu/arm1136/mx31/serial.c