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
This commit is contained in:
Stefan Reinauer
2010-02-23 20:31:37 +00:00
committed by Patrick Georgi
parent 1c1d9a034a
commit 740b587baa
39 changed files with 39 additions and 49 deletions

View File

@@ -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