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@siemens.com> Reviewed-on: https://review.coreboot.org/20159 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
parent
c34e41fef6
commit
59dd466414
|
@ -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…
Reference in New Issue