summaryrefslogtreecommitdiff
path: root/src/mainboard/hp/pavilion_m6_1035dx/ec.h
diff options
context:
space:
mode:
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>2014-04-06 23:57:57 -0500
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>2014-04-13 15:29:50 +0200
commitb4417fb1390d627090ee1e838623ac73af1fc634 (patch)
treea68e8fb06cded6177c398dd361247e6a78f4af59 /src/mainboard/hp/pavilion_m6_1035dx/ec.h
parent99e2bf87ef9e91196bf19eaa9091c2a945352316 (diff)
downloadcoreboot-b4417fb1390d627090ee1e838623ac73af1fc634.tar.xz
hp/pavilion_m6_1035dx: Add basic EC initialization
The EC is now set to ACPI mode, and properly generates SCIs on external events. This fixes the issue where battery notifications were not working. The keyboard matrix type is also explicitly set up. Change-Id: Ib6f0d23984d4ed1320340282469b8325c83547d1 Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-on: http://review.coreboot.org/5471 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'src/mainboard/hp/pavilion_m6_1035dx/ec.h')
-rw-r--r--src/mainboard/hp/pavilion_m6_1035dx/ec.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mainboard/hp/pavilion_m6_1035dx/ec.h b/src/mainboard/hp/pavilion_m6_1035dx/ec.h
new file mode 100644
index 0000000000..0c00d7aae0
--- /dev/null
+++ b/src/mainboard/hp/pavilion_m6_1035dx/ec.h
@@ -0,0 +1,11 @@
+/*
+ * Copyright (C) 2014 Alexandru Gagniuc <mr.nuke.me@gmail.com>
+ * Subject to the GNU GPL v2, or (at your option) any later version.
+ */
+
+#ifndef _MAINBOARD_HP_PAVILION_M6_1035DX_EC_H
+#define _MAINBOARD_HP_PAVILION_M6_1035DX_EC_H
+
+void pavilion_m6_1035dx_ec_init(void);
+
+#endif /* _MAINBOARD_HP_PAVILION_M6_1035DX_EC_H */