mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
UPSTREAM: vendorcode/siemens: Add new values to hwilib
The Siemens mc_apl1 mainboard needs new values from hwilib.
- add Dsave time for board reset
- add backlight brightness for panel setting
- add backlight PWM period
BUG=none
BRANCH=none
TEST=none
Change-Id: Idc3c86ccbd1d16f9b3ddd46a556a19dbe83f6dcf
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Original-Commit-Id: 59dd466414
Original-Change-Id: I3a48654ef57c7f8accaabe60e8aec144e4fe5466
Original-Signed-off-by: Mario Scheithauer <mario.scheithauer@siemens.com>
Original-Reviewed-on: https://review.coreboot.org/20159
Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Original-Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Original-Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-on: https://chromium-review.googlesource.com/539192
Commit-Ready: Patrick Georgi <pgeorgi@chromium.org>
Tested-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-by: Patrick Georgi <pgeorgi@chromium.org>
This commit is contained in:
parent
f0025ad631
commit
d4270a6d6f
2 changed files with 12 additions and 0 deletions
|
@ -152,6 +152,9 @@ static const struct param_info params[] = {
|
|||
.mask = 0x400,
|
||||
.mask_offset = 10,
|
||||
.get_field = hwilib_read_bytes },
|
||||
[NvramVirtTimeDsaveReset] = {
|
||||
.pos[0] = {.blk_type = BLK_HIB, .offset = 0x1be, .len = 2},
|
||||
.get_field = hwilib_read_bytes },
|
||||
[BiosFlags] = {
|
||||
.pos[0] = {.blk_type = BLK_HIB, .offset = 0x1c0, .len = 4},
|
||||
.get_field = hwilib_read_bytes },
|
||||
|
@ -170,6 +173,12 @@ static const struct param_info params[] = {
|
|||
[RTCType] = {
|
||||
.pos[0] = {.blk_type = BLK_HIB, .offset = 0x1e8, .len = 1},
|
||||
.get_field = hwilib_read_bytes },
|
||||
[BL_Brightness] = {
|
||||
.pos[0] = {.blk_type = BLK_SIB, .offset = 0xd8, .len = 1},
|
||||
.get_field = hwilib_read_bytes },
|
||||
[PF_PwmFreq] = {
|
||||
.pos[0] = {.blk_type = BLK_SIB, .offset = 0xe7, .len = 1},
|
||||
.get_field = hwilib_read_bytes },
|
||||
[PF_Color_Depth] = {
|
||||
.pos[0] = {.blk_type = BLK_SIB, .offset = 0xea, .len = 1},
|
||||
.mask = 0x03,
|
||||
|
|
|
@ -39,12 +39,15 @@ typedef enum {
|
|||
SPD,
|
||||
FF_FreezeDis,
|
||||
FF_FanReq,
|
||||
NvramVirtTimeDsaveReset,
|
||||
BiosFlags,
|
||||
MacMapping1,
|
||||
MacMapping2,
|
||||
MacMapping3,
|
||||
MacMapping4,
|
||||
RTCType,
|
||||
BL_Brightness,
|
||||
PF_PwmFreq,
|
||||
PF_Color_Depth,
|
||||
PF_DisplType,
|
||||
PF_DisplCon,
|
||||
|
|
Loading…
Add table
Reference in a new issue