coreboot-kgpe-d16/src/mainboard
Patrick Rudolph 9bd6015843 superio/nuvoton/npcd378: Add PSU fan control
Implement method to access the SuperIO's harware monitor (HWM) IO space.
Set the PSU fan using a new CMOS option psu_fan_lvl. Add the CMOS option
to all board that use NPCD378. In case no CMOS is set use the default
fan level 3.

The HWM space can be written to at any time, but the SuperIO has to be
notified that a write is ongoing. After clearing the write-lock bit all
changes are applied at once.

Tested on HP Compaq 8200 SFF.

Change-Id: I56ce7ad1df88638589a577b8a09d5d775557887b
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/26050
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2018-06-01 11:57:25 +00:00
..
aaeon AMD geode/lx: Remove generic_sdram.c include 2018-05-24 13:33:57 +00:00
adi cpu/x86/mtrr: Get rid of CACHE_ROM_SIZE_OVERRIDE 2018-05-31 15:08:48 +00:00
adlink
advansus mb/a785e-i: Get rid of device_t 2018-05-09 13:15:59 +00:00
amd Remove all AMD K8 boards 2018-05-31 03:41:11 +00:00
aopen mb/aopen/dxplplusu: Get rid of device_t 2018-05-08 17:52:19 +00:00
apple mb/apple: Get rid of device_t 2018-05-08 03:03:23 +00:00
artecgroup AMD geode/lx: Remove generic_sdram.c include 2018-05-24 13:33:57 +00:00
asrock Remove all AMD K8 boards 2018-05-31 03:41:11 +00:00
asus Remove all AMD K8 boards 2018-05-31 03:41:11 +00:00
avalue mb/avalue: Get rid of device_t 2018-05-09 13:16:12 +00:00
bachmann AMD geode/lx: Remove generic_sdram.c include 2018-05-24 13:33:57 +00:00
bap mb/bap: Get rid of device_t 2018-05-09 13:13:17 +00:00
biostar mainboard/amd/*: Remove unused arguments from SIOW ACPI method 2018-05-15 15:42:13 +00:00
compulab sb/intel/{bd82x6,ibexpeak}: Move RCBA macros to a common location 2018-02-27 09:46:29 +00:00
cubietech cubieboard/qemu-armv7/am335x: Add fake TTB region for consistency 2018-04-30 06:26:41 +00:00
digitallogic AMD geode/lx: Remove generic_sdram.c include 2018-05-24 13:33:57 +00:00
elmex mb/elmex: Get rid of device_t 2018-05-09 10:09:39 +00:00
emulation mb/emulation/qemu-q35: Get rid of device_t 2018-05-24 13:18:07 +00:00
esd cpu/x86/mtrr: Get rid of CACHE_ROM_SIZE_OVERRIDE 2018-05-31 15:08:48 +00:00
foxconn mb/*/*/cmos.layout: Fix the values for the console level 2018-01-26 17:28:56 +00:00
getac ACPI: Set the correct number of arguments in ACPI methods 2018-05-15 15:43:41 +00:00
gigabyte Remove all AMD K8 boards 2018-05-31 03:41:11 +00:00
gizmosphere mb/gizmosphere: Get rid of device_t 2018-05-09 10:09:44 +00:00
google mb/google/fizz: Add USB port info 2018-06-01 08:16:00 +00:00
hp superio/nuvoton/npcd378: Add PSU fan control 2018-06-01 11:57:25 +00:00
ibase mb/ibase: Get rid of device_t 2018-05-08 14:22:27 +00:00
iei AMD geode/lx: Remove generic_sdram.c include 2018-05-24 13:33:57 +00:00
intel cpu/x86/mtrr: Get rid of CACHE_ROM_SIZE_OVERRIDE 2018-05-31 15:08:48 +00:00
jetway Remove all VIA CN700 boards 2018-05-31 03:42:57 +00:00
kontron Remove all AMD K8 boards 2018-05-31 03:41:11 +00:00
lenovo lenovo: Add various data.vbt 2018-05-09 16:19:48 +00:00
linutop
lippert AMD geode/lx: Remove generic_sdram.c include 2018-05-24 13:33:57 +00:00
lowrisc RISC-V boards: Remove PAGETABLES section from memlayout.ld 2018-04-27 09:07:43 +00:00
msi Remove all AMD K8 boards 2018-05-31 03:41:11 +00:00
ocp cpu/x86/mtrr: Get rid of CACHE_ROM_SIZE_OVERRIDE 2018-05-31 15:08:48 +00:00
packardbell mb/packardbell/ms2290: Get rid of device_t 2018-05-24 13:18:22 +00:00
pcengines AMD geode/lx: Remove generic_sdram.c include 2018-05-24 13:33:57 +00:00
purism purism/librem_bdw: Rename Broadwell baseboard from BDL to BDW 2018-05-11 18:23:48 +00:00
roda mb/roda: Get rid of device_t 2018-05-08 03:04:17 +00:00
samsung mb/superio: Rename global control devices as SUPERIO_DEV 2018-05-08 14:18:36 +00:00
sapphire mb/sapphire: Get rid of device_t 2018-05-08 17:50:02 +00:00
scaleway mb/scaleway/tagada: Set DIMM slot information from mainboard 2018-05-15 11:44:34 +00:00
siemens cpu/x86/mtrr: Get rid of CACHE_ROM_SIZE_OVERRIDE 2018-05-31 15:08:48 +00:00
sifive mb/sifive: Get rid of device_t 2018-05-08 14:23:12 +00:00
supermicro Remove all AMD K8 boards 2018-05-31 03:41:11 +00:00
ti
traverse AMD geode/lx: Remove generic_sdram.c include 2018-05-24 13:33:57 +00:00
tyan Remove all AMD K8 boards 2018-05-31 03:41:11 +00:00
via mb/via/epia-m700: Remove board 2018-05-31 03:43:58 +00:00
winent Remove all AMD K8 boards 2018-05-31 03:41:11 +00:00
Kconfig