summaryrefslogtreecommitdiff
path: root/src/vendorcode
diff options
context:
space:
mode:
Diffstat (limited to 'src/vendorcode')
-rw-r--r--src/vendorcode/siemens/hwilib/hwilib.c9
-rw-r--r--src/vendorcode/siemens/hwilib/hwilib.h3
2 files changed, 12 insertions, 0 deletions
diff --git a/src/vendorcode/siemens/hwilib/hwilib.c b/src/vendorcode/siemens/hwilib/hwilib.c
index df9bd2295e..c1533e80e2 100644
--- a/src/vendorcode/siemens/hwilib/hwilib.c
+++ b/src/vendorcode/siemens/hwilib/hwilib.c
@@ -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,
diff --git a/src/vendorcode/siemens/hwilib/hwilib.h b/src/vendorcode/siemens/hwilib/hwilib.h
index 001c958f19..83fcc8fffb 100644
--- a/src/vendorcode/siemens/hwilib/hwilib.h
+++ b/src/vendorcode/siemens/hwilib/hwilib.h
@@ -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,