[coreboot-gerrit] Change in coreboot[master]: mb/lenovo/l520/Kconfig: Remove hybrid graphics driver support

Patrick Rudolph (Code Review) gerrit at coreboot.org
Thu Jul 27 19:35:50 CEST 2017


Patrick Rudolph has uploaded this change for review. ( https://review.coreboot.org/20798


Change subject: mb/lenovo/l520/Kconfig: Remove hybrid graphics driver support
......................................................................

mb/lenovo/l520/Kconfig: Remove hybrid graphics driver support

The schematics isn't available for the board, but other L*00 series boards
seem to use a different, compared to T*00 series, GPIO layout.

As it never has been tested, remove the broken driver.

Change-Id: I4bfa02fdbc5da5b556010c2f300faaf6dc845b80
Signed-off-by: Patrick Rudolph <siro at das-labor.org>
---
M src/mainboard/lenovo/l520/Kconfig
M src/mainboard/lenovo/l520/cmos.default
M src/mainboard/lenovo/l520/cmos.layout
3 files changed, 5 insertions(+), 10 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/98/20798/1

diff --git a/src/mainboard/lenovo/l520/Kconfig b/src/mainboard/lenovo/l520/Kconfig
index 4d317fa..7043184 100644
--- a/src/mainboard/lenovo/l520/Kconfig
+++ b/src/mainboard/lenovo/l520/Kconfig
@@ -17,7 +17,6 @@
 	select SOUTHBRIDGE_INTEL_BD82X6X
 	select SYSTEM_TYPE_LAPTOP
 	select USE_NATIVE_RAMINIT
-	select DRIVERS_LENOVO_HYBRID_GRAPHICS
 
 config HAVE_IFD_BIN
 	bool
diff --git a/src/mainboard/lenovo/l520/cmos.default b/src/mainboard/lenovo/l520/cmos.default
index f38beb4..a0abaed 100644
--- a/src/mainboard/lenovo/l520/cmos.default
+++ b/src/mainboard/lenovo/l520/cmos.default
@@ -14,5 +14,4 @@
 sticky_fn=Disable
 trackpoint=Enable
 backlight=Both
-hybrid_graphics_mode=Integrated Only
 usb_always_on=Disable
\ No newline at end of file
diff --git a/src/mainboard/lenovo/l520/cmos.layout b/src/mainboard/lenovo/l520/cmos.layout
index 8075904..678b7a8 100644
--- a/src/mainboard/lenovo/l520/cmos.layout
+++ b/src/mainboard/lenovo/l520/cmos.layout
@@ -67,7 +67,7 @@
 416         1       e       1        trackpoint
 417         1       e       1        fn_ctrl_swap
 418         1       e       1        sticky_fn
-419         2       e       13       usb_always_on
+419         2       e       12       usb_always_on
 421         1       e       9        sata_mode
 422         2       e       10       backlight
 
@@ -76,8 +76,7 @@
 
 # coreboot config options: northbridge
 432         3        e      11        gfx_uma_size
-435         2        e       12       hybrid_graphics_mode
-#437        3        r       0        unused
+#435        5        r       0        unused
 440         8        h       0        volume
 
 # SandyBridge MRC Scrambler Seed values
@@ -134,11 +133,9 @@
 11    4	    160M
 11    5	    192M
 11    6	    224M
-12    0     Integrated Only
-12    1     Discrete Only
-13    0     Disable
-13    1     AC and battery
-13    2     AC only
+12    0     Disable
+12    1     AC and battery
+12    2     AC only
 
 # -----------------------------------------------------------------
 checksums

-- 
To view, visit https://review.coreboot.org/20798
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4bfa02fdbc5da5b556010c2f300faaf6dc845b80
Gerrit-Change-Number: 20798
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Rudolph <siro at das-labor.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170727/d1bdce59/attachment.html>


More information about the coreboot-gerrit mailing list