summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-01-14 18:10:38 -0700
committerAnatolij Gustschin <agust@denx.de>2016-01-30 10:55:02 +0100
commit5508f10ac9c5cb49f41284b383ba18637f5c7f77 (patch)
tree1a833fc3b4fd508356c1d7ea04760e414571ed59 /drivers/video
parentf266178698307608ee23741e69b9626196e66481 (diff)
downloadu-boot-imx-5508f10ac9c5cb49f41284b383ba18637f5c7f77.zip
u-boot-imx-5508f10ac9c5cb49f41284b383ba18637f5c7f77.tar.gz
u-boot-imx-5508f10ac9c5cb49f41284b383ba18637f5c7f77.tar.bz2
video: Handle the 'bell' character
This can be sent when to many characters are entered. Make sure it is ignored and does not cause a character to be displayed. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/vidconsole-uclass.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/vidconsole-uclass.c b/drivers/video/vidconsole-uclass.c
index 3145fd8..4c0efd5 100644
--- a/drivers/video/vidconsole-uclass.c
+++ b/drivers/video/vidconsole-uclass.c
@@ -91,6 +91,9 @@ int vidconsole_put_char(struct udevice *dev, char ch)
int ret;
switch (ch) {
+ case '\a':
+ /* beep */
+ break;
case '\r':
priv->xcur_frac = 0;
break;