aboutsummaryrefslogtreecommitdiff
path: root/src/pc80
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-02-23 20:31:37 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2010-02-23 20:31:37 +0000
commit740b587baa749f89361e53e05e2f629e6941e378 (patch)
tree925973c5e5de0ed152a7ac2694dc7d3db0c57780 /src/pc80
parent1c1d9a034a190277c6c9bfd5f262df8cad46b01e (diff)
Remove nonsensical wrapper for function in
PS/2 keyboard API. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Patrick Georgi <patrick.georgi@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5152 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/pc80')
-rw-r--r--src/pc80/keyboard.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/pc80/keyboard.c b/src/pc80/keyboard.c
index c025c889fb..04abe043cb 100644
--- a/src/pc80/keyboard.c
+++ b/src/pc80/keyboard.c
@@ -159,7 +159,7 @@ static u8 send_keyboard(u8 command)
return regval;
}
-static void pc_keyboard_init(struct pc_keyboard *keyboard)
+void pc_keyboard_init(struct pc_keyboard *keyboard)
{
u8 regval;
printk_debug("Keyboard init...\n");
@@ -242,16 +242,6 @@ static void pc_keyboard_init(struct pc_keyboard *keyboard)
}
}
-
-void init_pc_keyboard(unsigned port0, unsigned port1, struct pc_keyboard *kbd)
-{
- if ((port0 == 0x60) && (port1 == 0x64)) {
- pc_keyboard_init(kbd);
- } else {
- printk_warning("Unsupported keyboard controller.\n");
- }
-}
-
/*
* Support PS/2 mode - oddball SIOs(KBC) need this setup
* Not well documented. Google - 0xcb keyboard controller