vendorcode/siemens: Fix bug in hwilib for FF_FanReq and FF_FreezeDis
commit5e21cd450c13176450e817fdf470925d45daaf05
authorWerner Zeh <werner.zeh@siemens.com>
Fri, 30 Jun 2017 08:05:06 +0000 (30 10:05 +0200)
committerWerner Zeh <werner.zeh@siemens.com>
Sun, 2 Jul 2017 15:39:00 +0000 (2 15:39 +0000)
tree751d6e0168074c19c79f6ec45e45c8733c816650
parenta1de1a0810892c3c3a22ed6e2868fbef3bde8134
vendorcode/siemens: Fix bug in hwilib for FF_FanReq and FF_FreezeDis

The two flags FF_FanReq and FF_Freeze_Dis should be treated as
8 bit values and not as 32 bit. Change the length of these fields to
1 byte and adjust the offset and mask for FF_FanReq.

Change-Id: If5e9e8b16491a33997cc39c3dd9b80f97682adc6
Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-on: https://review.coreboot.org/20431
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
src/vendorcode/siemens/hwilib/hwilib.c