From 00b9f4c4b1cd95a6cafe2b1e66641ff0f113082e Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Wed, 8 Feb 2017 18:12:31 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/18321 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- src/mainboard/lenovo/t400/cmos.layout | 24 +++++++++++------------- src/mainboard/lenovo/x200/cmos.layout | 19 +++++++++---------- 2 files changed, 20 insertions(+), 23 deletions(-) (limited to 'src/mainboard/lenovo') 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 -- cgit v1.2.3