[coreboot-gerrit] Change in coreboot[master]: vendorcode/siemens: Add new values to hwilib
Mario Scheithauer (Code Review)
gerrit at coreboot.org
Mon Jun 12 09:56:47 CEST 2017
Mario Scheithauer has uploaded this change for review. ( https://review.coreboot.org/20159
Change subject: vendorcode/siemens: Add new values to hwilib
......................................................................
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
Change-Id: I3a48654ef57c7f8accaabe60e8aec144e4fe5466
Signed-off-by: Mario Scheithauer <mario.scheithauer at siemens.com>
---
M src/vendorcode/siemens/hwilib/hwilib.c
M src/vendorcode/siemens/hwilib/hwilib.h
2 files changed, 12 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/59/20159/1
diff --git a/src/vendorcode/siemens/hwilib/hwilib.c b/src/vendorcode/siemens/hwilib/hwilib.c
index df9bd22..c1533e8 100644
--- a/src/vendorcode/siemens/hwilib/hwilib.c
+++ b/src/vendorcode/siemens/hwilib/hwilib.c
@@ -152,6 +152,9 @@
.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 @@
[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,
diff --git a/src/vendorcode/siemens/hwilib/hwilib.h b/src/vendorcode/siemens/hwilib/hwilib.h
index 001c958..83fcc8f 100644
--- a/src/vendorcode/siemens/hwilib/hwilib.h
+++ b/src/vendorcode/siemens/hwilib/hwilib.h
@@ -39,12 +39,15 @@
SPD,
FF_FreezeDis,
FF_FanReq,
+ NvramVirtTimeDsaveReset,
BiosFlags,
MacMapping1,
MacMapping2,
MacMapping3,
MacMapping4,
RTCType,
+ BL_Brightness,
+ PF_PwmFreq,
PF_Color_Depth,
PF_DisplType,
PF_DisplCon,
--
To view, visit https://review.coreboot.org/20159
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3a48654ef57c7f8accaabe60e8aec144e4fe5466
Gerrit-Change-Number: 20159
Gerrit-PatchSet: 1
Gerrit-Owner: Mario Scheithauer <mario.scheithauer at siemens.com>
More information about the coreboot-gerrit
mailing list