diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2010-09-09 08:34:02 +0000 |
---|---|---|
committer | Patrick Georgi <patrick.georgi@coresystems.de> | 2010-09-09 08:34:02 +0000 |
commit | 9c35c8409db16cd88dd93266575766f8a1695a27 (patch) | |
tree | c606eba56a94f481b833843a8080a54a30129782 /src/pc80 | |
parent | 080ed7c5d586b7f610af5a6ecd6fbf48bc802fe6 (diff) | |
download | coreboot-staging-9c35c8409db16cd88dd93266575766f8a1695a27.zip coreboot-staging-9c35c8409db16cd88dd93266575766f8a1695a27.tar.gz |
Add a DRIVERS_PS2_KEYBOARD option which controls the PS2 keyboard
initialization. Not all payloads require it and some keyboards take a
long time to init.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5790 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/pc80')
-rw-r--r-- | src/pc80/keyboard.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pc80/keyboard.c b/src/pc80/keyboard.c index dee6279..9dadf0e 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 */ |