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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user