diff options
author | Sven Schnelle <svens@stackframe.org> | 2011-06-05 21:32:51 +0200 |
---|---|---|
committer | Sven Schnelle <svens@stackframe.org> | 2011-06-07 22:43:14 +0200 |
commit | 51e1bc3a7b15dd635e2afb9d4d2ee1807fa057d5 (patch) | |
tree | a8496ecf262df65963d564f21bcf49417123f787 /src/mainboard/lenovo | |
parent | e261807baceef199f31528f700fdd9a8a27d348e (diff) |
T60/PMH7: move 'touchpad' option to pmh7
This option is PMH7 specific, and should be moved there,
so all Notebook utilizing a PMH7 have this option.
For Thinkpads without Touchpad (like the X60), simply
don't add 'touchpad' to cmos.layout.
Change-Id: Icdd0093670d565f1b16e2483aa286f4d63ccc52a
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Reviewed-on: http://review.coreboot.org/6
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/lenovo')
-rw-r--r-- | src/mainboard/lenovo/t60/mainboard.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mainboard/lenovo/t60/mainboard.c b/src/mainboard/lenovo/t60/mainboard.c index d2ee2fab4e..775145314e 100644 --- a/src/mainboard/lenovo/t60/mainboard.c +++ b/src/mainboard/lenovo/t60/mainboard.c @@ -34,12 +34,10 @@ #include <ec/acpi/ec.h> #include <ec/lenovo/h8/h8.h> #include <northbridge/intel/i945/i945.h> -#include <pc80/mc146818rtc.h> static void mainboard_enable(device_t dev) { device_t dev0, idedev; - u8 touchpad; /* enable Audio */ h8_set_audio_mute(0); @@ -49,11 +47,6 @@ static void mainboard_enable(device_t dev) if (dev0 && pci_read_config32(dev0, SKPAD) == 0xcafed00d) ec_write(0x0c, 0xc7); - if (get_option(&touchpad, "touchpad") < 0) - touchpad = 1; - - pmh7_touchpad_enable(touchpad); - idedev = dev_find_slot(0, PCI_DEVFN(0x1f,1)); if (idedev && idedev->chip_info && h8_ultrabay_device_present()) { struct southbridge_intel_i82801gx_config *config = idedev->chip_info; |