lenovo: Move pc_keyboard_init to h8 init.

PS/2 emulation is part of H8, so should be inited in relevant files.

Change-Id: Ie873ea7f6f88f68f622351799462d0b000d17585
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: http://review.coreboot.org/10348
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Edward O'Callaghan <edward.ocallaghan@koparo.com>
Reviewed-by: Alexander Couzens <lynxis@fe80.eu>
This commit is contained in:
Vladimir Serbinenko
2015-05-27 08:30:47 +02:00
parent faa46e0cb6
commit 852014cf00
9 changed files with 8 additions and 35 deletions

View File

@@ -27,6 +27,7 @@
#include <string.h>
#include <smbios.h>
#include <pc80/mc146818rtc.h>
#include <pc80/keyboard.h>
#include "h8.h"
#include "chip.h"
@@ -176,8 +177,14 @@ static void h8_smbios_strings(struct device *dev, struct smbios_type11 *t)
t->count = smbios_add_string(t->eos, tpec);
}
static void h8_init(device_t dev)
{
pc_keyboard_init();
}
struct device_operations h8_dev_ops = {
.get_smbios_strings = h8_smbios_strings
.get_smbios_strings = h8_smbios_strings,
.init = h8_init,
};
static void h8_enable(struct device *dev)