summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2017-02-08 18:12:31 +0100
committerNico Huber <nico.h@gmx.de>2017-06-06 18:59:40 +0200
commit00b9f4c4b1cd95a6cafe2b1e66641ff0f113082e (patch)
treea2b876df036af53952bb49d7efe6c9971323c816 /src/mainboard/lenovo
parentb40e5c72b727211752a6e18156280edf067cddce (diff)
downloadcoreboot-00b9f4c4b1cd95a6cafe2b1e66641ff0f113082e.tar.xz
mb/*/*/cmos.layout: Make multibyte options byte aligned
Changes the offsets of some options so that options that span multiple bytes are byte aligned. To make the cmos.layout file more consistent some things where moved around in the cmos.layout of thinkpads X200 and T400. Change-Id: Ic84a2a5dc6f9c102f041085871c2ed55e2f3692a Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/18321 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/mainboard/lenovo')
-rw-r--r--src/mainboard/lenovo/t400/cmos.layout24
-rw-r--r--src/mainboard/lenovo/x200/cmos.layout19
2 files changed, 20 insertions, 23 deletions
diff --git a/src/mainboard/lenovo/t400/cmos.layout b/src/mainboard/lenovo/t400/cmos.layout
index cf31453718..3b1e32a181 100644
--- a/src/mainboard/lenovo/t400/cmos.layout
+++ b/src/mainboard/lenovo/t400/cmos.layout
@@ -65,23 +65,21 @@ entries
413 1 e 1 wwan
414 1 e 1 wlan
415 1 e 1 trackpoint
-416 1 e 1 fn_ctrl_swap
-417 1 e 1 sticky_fn
+416 8 h 0 volume
+424 1 e 1 fn_ctrl_swap
+425 1 e 1 sticky_fn
+426 1 e 1 power_management_beeps
+427 1 e 1 low_battery_beep
+428 1 e 1 uwb
-# coreboot config options: bootloader
-418 512 s 0 boot_devices
-930 8 h 0 boot_default
-938 1 e 1 power_management_beeps
-939 1 e 1 low_battery_beep
-940 1 e 1 uwb
+# coreboot config options: bootloader
+432 512 s 0 boot_devices
+944 8 h 0 boot_default
# coreboot config options: northbridge
-944 2 e 12 hybrid_graphics_mode
-946 4 e 11 gfx_uma_size
-
-# coreboot config options: EC
-952 8 h 0 volume
+952 2 e 12 hybrid_graphics_mode
+954 4 e 11 gfx_uma_size
# coreboot config options: check sums
984 16 h 0 check_sum
diff --git a/src/mainboard/lenovo/x200/cmos.layout b/src/mainboard/lenovo/x200/cmos.layout
index 35d50172fd..59a1c6daf1 100644
--- a/src/mainboard/lenovo/x200/cmos.layout
+++ b/src/mainboard/lenovo/x200/cmos.layout
@@ -65,20 +65,19 @@ entries
413 1 e 1 wwan
414 1 e 1 wlan
415 1 e 1 trackpoint
-416 1 e 1 fn_ctrl_swap
-417 1 e 1 sticky_fn
+416 8 h 0 volume
+424 1 e 1 fn_ctrl_swap
+425 1 e 1 sticky_fn
+426 1 e 1 power_management_beeps
+427 1 e 1 low_battery_beep
+428 1 e 1 uwb
# coreboot config options: bootloader
-418 512 s 0 boot_devices
-930 8 h 0 boot_default
-
-938 1 e 1 power_management_beeps
-939 1 e 1 low_battery_beep
-940 1 e 1 uwb
+432 512 s 0 boot_devices
+944 8 h 0 boot_default
# coreboot config options: northbridge
-944 8 h 0 volume
-952 4 e 11 gfx_uma_size
+952 4 e 11 gfx_uma_size
# coreboot config options: check sums
984 16 h 0 check_sum