superio/ite/it8728f/it8728f_hwm.c: Small fixes

Use proper include header in it8728f_hwm.c, fix format error.
The base of HWM block starts at offset +5.

Change-Id: I6855225b38bbcf5687d506bea9482c951d314684
Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
Reviewed-on: http://review.coreboot.org/5729
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Tested-by: build bot (Jenkins)
This commit is contained in:
Rudolf Marek 2014-05-13 16:46:21 +02:00 committed by Patrick Georgi
parent b27d3602e0
commit 4405b06521
1 changed files with 4 additions and 3 deletions

View File

@ -23,7 +23,7 @@
#include <device/device.h>
#include <device/pnp.h>
#include "chip.h"
#include "ite_internal.h"
#include "it8728f_internal.h"
/*
* FAN controller configuration register index's
@ -50,7 +50,8 @@ void it8728f_hwm_ec_init(device_t dev)
printk(BIOS_WARNING, "Super I/O HWM: No HWM resource found.\n");
return;
}
u16 port = res->base;
/* I/O port for HWM is at base + 5 */
u16 port = res->base + 5;
printk(BIOS_INFO,
"ITE IT8728F Super I/O HWM: Initializing Hardware Monitor..\n");