summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/x60
diff options
context:
space:
mode:
authorSven Schnelle <svens@stackframe.org>2011-04-11 19:43:50 +0000
committerSven Schnelle <svens@stackframe.org>2011-04-11 19:43:50 +0000
commit1fa61ebb3344105ae633ed7eb1be05cc574b666c (patch)
tree488647227ebb4363a9d75ff57161d37e982df38b /src/mainboard/lenovo/x60
parentffcd1439f36ec27388139b9d5a379dd4294417b8 (diff)
PMH7: Add chip config
Signed-off-by: Sven Schnelle <svens@stackframe.org> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6486 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/lenovo/x60')
-rw-r--r--src/mainboard/lenovo/x60/devicetree.cb1
-rw-r--r--src/mainboard/lenovo/x60/mainboard.c7
2 files changed, 1 insertions, 7 deletions
diff --git a/src/mainboard/lenovo/x60/devicetree.cb b/src/mainboard/lenovo/x60/devicetree.cb
index f47fdaeab6..d5ba7d9790 100644
--- a/src/mainboard/lenovo/x60/devicetree.cb
+++ b/src/mainboard/lenovo/x60/devicetree.cb
@@ -85,6 +85,7 @@ chip northbridge/intel/i945
chip ec/lenovo/pmh7
device pnp ff.1 on # dummy
end
+ register "backlight_enable" = "0x01"
end
chip ec/lenovo/h8
device pnp ff.2 on # dummy
diff --git a/src/mainboard/lenovo/x60/mainboard.c b/src/mainboard/lenovo/x60/mainboard.c
index 15ed808614..b9416b5c20 100644
--- a/src/mainboard/lenovo/x60/mainboard.c
+++ b/src/mainboard/lenovo/x60/mainboard.c
@@ -35,17 +35,10 @@
#include <ec/lenovo/h8/h8.h>
#include <northbridge/intel/i945/i945.h>
-static void backlight_enable(void)
-{
- pmh7_register_set_bit(0x50, 5);
-}
-
static void mainboard_enable(device_t dev)
{
device_t dev0;
- backlight_enable();
-
/* enable Audio */
h8_set_audio_mute(0);