summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorSven Schnelle <svens@stackframe.org>2011-12-07 14:30:58 -0800
committerPeter Stuge <peter@stuge.se>2011-12-14 09:41:46 +0100
commitd5992b8dd1e4a7d73e0aaf042f0cb96a5c28533a (patch)
treef86cdb0fd3f5d47e8ecdcfb8db5e3373715885b8 /src/mainboard
parent009ad83d5c1791816801216c496ba9b3fe352fb5 (diff)
downloadcoreboot-d5992b8dd1e4a7d73e0aaf042f0cb96a5c28533a.tar.xz
Lenovo X60/T60: add first_battery setting
The EC allows to select the order in which batteries are (dis)charged. Make this setting available to the user. Change-Id: Id2a98192565419dbb53f3a7cf0b2c46b672a3ed8 Signed-off-by: Sven Schnelle <svens@stackframe.org> Reviewed-on: http://review.coreboot.org/475 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Peter Stuge <peter@stuge.se>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/lenovo/t60/cmos.layout4
-rw-r--r--src/mainboard/lenovo/x60/cmos.layout3
2 files changed, 6 insertions, 1 deletions
diff --git a/src/mainboard/lenovo/t60/cmos.layout b/src/mainboard/lenovo/t60/cmos.layout
index a946b4b120..8d9dce49bb 100644
--- a/src/mainboard/lenovo/t60/cmos.layout
+++ b/src/mainboard/lenovo/t60/cmos.layout
@@ -109,6 +109,7 @@ entries
1060 1 e 1 touchpad
1064 8 h 0 volume
+1072 1 e 9 first_battery
# -----------------------------------------------------------------
enumerations
@@ -142,7 +143,8 @@ enumerations
7 2 Keep
8 0 No
8 1 Yes
-
+9 0 Secondary
+9 1 Primary
# -----------------------------------------------------------------
checksums
diff --git a/src/mainboard/lenovo/x60/cmos.layout b/src/mainboard/lenovo/x60/cmos.layout
index a1575137c7..cae70cb91e 100644
--- a/src/mainboard/lenovo/x60/cmos.layout
+++ b/src/mainboard/lenovo/x60/cmos.layout
@@ -109,6 +109,7 @@ entries
1064 8 h 0 volume
1072 8 h 0 tft_brightness
+1080 1 e 9 first_battery
# -----------------------------------------------------------------
enumerations
@@ -142,6 +143,8 @@ enumerations
7 2 Keep
8 0 No
8 1 Yes
+9 0 Secondary
+9 1 Primary
# -----------------------------------------------------------------
checksums