From 59dd4664148ffcff5af4b23b320bf9bb99c28a63 Mon Sep 17 00:00:00 2001 From: Mario Scheithauer Date: Mon, 12 Jun 2017 09:46:09 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/20159 Tested-by: build bot (Jenkins) Reviewed-by: Werner Zeh Reviewed-by: Paul Menzel --- src/vendorcode/siemens/hwilib/hwilib.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/vendorcode/siemens/hwilib/hwilib.c') 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, -- cgit v1.2.3