summaryrefslogtreecommitdiff
path: root/src/pc80
diff options
context:
space:
mode:
Diffstat (limited to 'src/pc80')
-rw-r--r--src/pc80/keyboard.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pc80/keyboard.c b/src/pc80/keyboard.c
index dee6279842..9dadf0e39a 100644
--- a/src/pc80/keyboard.c
+++ b/src/pc80/keyboard.c
@@ -162,6 +162,8 @@ static u8 send_keyboard(u8 command)
void pc_keyboard_init(struct pc_keyboard *keyboard)
{
u8 regval;
+ if (!CONFIG_DRIVERS_PS2_KEYBOARD)
+ return;
printk(BIOS_DEBUG, "Keyboard init...\n");
/* Run a keyboard controller self-test */