diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> | 2013-02-24 12:01:44 +0100 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2013-04-16 05:20:12 +0200 |
commit | ed7e29e6202485ba7b4f27bd415c891abdbb9f1d (patch) | |
tree | 1b25ed74218adb5681b0a7f7e08bd9b1ab03cb10 /src/mainboard/lenovo/x60/mainboard.c | |
parent | cef4ea7fb53f01a74126b85232503a2d106d9933 (diff) |
Lenovo ThinkPad X60: Add Native VGA init.
The code has been taken from the google link mainboard
and modified to fit the ThinkPad X60.
Change-Id: Ie16e45163acdc651ea46699ecc33055bfd34099c
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Reviewed-on: http://review.coreboot.org/2998
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/mainboard/lenovo/x60/mainboard.c')
-rw-r--r-- | src/mainboard/lenovo/x60/mainboard.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/x60/mainboard.c b/src/mainboard/lenovo/x60/mainboard.c index e5d2e19a55..3cb28ff63d 100644 --- a/src/mainboard/lenovo/x60/mainboard.c +++ b/src/mainboard/lenovo/x60/mainboard.c @@ -36,6 +36,9 @@ #include "dock.h" #include <arch/x86/include/arch/acpigen.h> +int i915lightup(unsigned int physbase, unsigned int iobase, unsigned int mmio, + unsigned int gfx); + static acpi_cstate_t cst_entries[] = { { 1, 1, 1000, { 0x7f, 1, 2, { 0 }, 1, 0 } }, { 2, 1, 500, { 0x01, 8, 0, { 0 }, DEFAULT_PMBASE + LV2, 0 } }, |