From 5ecfa2963d4d8d80a01eddbecba87124dee3c516 Mon Sep 17 00:00:00 2001 From: Philipp Degler Date: Thu, 24 May 2007 13:55:45 +0000 Subject: Small patch that adds an error message in case the keyboard selftest fails. Signed-off-by: Philipp Degler Acked-by: Uwe Hermann git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2694 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/pc80/keyboard.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/pc80') diff --git a/src/pc80/keyboard.c b/src/pc80/keyboard.c index ccec00488c..c5e384800f 100644 --- a/src/pc80/keyboard.c +++ b/src/pc80/keyboard.c @@ -43,8 +43,10 @@ static void pc_keyboard_init(struct pc_keyboard *keyboard) } /* read self-test result, 0x55 should be returned form 0x60 */ - if ((regval = inb(0x60) != 0x55)) + if ((regval = inb(0x60) != 0x55)) { + printk_err("Keyboard selftest failed\n"); return; + } /* enable keyboard interface */ outb(0x60, 0x64); -- cgit v1.2.3