summaryrefslogtreecommitdiff
path: root/src/superio/nuvoton/nct5572d/superio.c
diff options
context:
space:
mode:
authorPaul Menzel <pmenzel@molgen.mpg.de>2017-10-31 17:21:23 +0100
committerMatt DeVillier <matt.devillier@gmail.com>2017-11-30 22:49:52 +0000
commit6ff10789909c86dadd61dadefa7e961990a7b6cf (patch)
treea37b419c287fcda76e0a4291982a8ffa0660d433 /src/superio/nuvoton/nct5572d/superio.c
parente4b38bc05fb16f130a1d5e0c6d3e01f8944c6b28 (diff)
downloadcoreboot-6ff10789909c86dadd61dadefa7e961990a7b6cf.tar.xz
superio: Log if mouse controller is disabled
It’s useful to know, if the mouse controller is disabled or not, so convert the comment to a log message. Change-Id: Ic3f7d5b7b98cf8c258a6a601f4a44ce403f4a576 Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de> Reviewed-on: https://review.coreboot.org/22285 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/superio/nuvoton/nct5572d/superio.c')
-rw-r--r--src/superio/nuvoton/nct5572d/superio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/superio/nuvoton/nct5572d/superio.c b/src/superio/nuvoton/nct5572d/superio.c
index 04e6967088..1c0ae38113 100644
--- a/src/superio/nuvoton/nct5572d/superio.c
+++ b/src/superio/nuvoton/nct5572d/superio.c
@@ -57,7 +57,8 @@ static void nct5572d_init(struct device *dev)
mouse_detected = pc_keyboard_init(PROBE_AUX_DEVICE);
if (!mouse_detected && !acpi_is_wakeup_s3()) {
- /* Disable mouse controller */
+ printk(BIOS_INFO, "%s: Disable mouse controller.",
+ __func__);
pnp_enter_conf_mode_8787(dev);
byte = pnp_read_config(dev, 0x2a);
byte |= 0x1 << 1;