From b4417fb1390d627090ee1e838623ac73af1fc634 Mon Sep 17 00:00:00 2001 From: Alexandru Gagniuc Date: Sun, 6 Apr 2014 23:57:57 -0500 Subject: hp/pavilion_m6_1035dx: Add basic EC initialization MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: http://review.coreboot.org/5471 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki Reviewed-by: Edward O'Callaghan --- src/mainboard/hp/pavilion_m6_1035dx/mainboard.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mainboard/hp/pavilion_m6_1035dx/mainboard.c') diff --git a/src/mainboard/hp/pavilion_m6_1035dx/mainboard.c b/src/mainboard/hp/pavilion_m6_1035dx/mainboard.c index 5ac478f968..2e2b72bf03 100644 --- a/src/mainboard/hp/pavilion_m6_1035dx/mainboard.c +++ b/src/mainboard/hp/pavilion_m6_1035dx/mainboard.c @@ -19,6 +19,7 @@ #include "agesawrapper.h" #include "BiosCallOuts.h" +#include "ec.h" #include #include @@ -35,6 +36,9 @@ static void mainboard_enable(device_t dev) { printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n"); + + pavilion_m6_1035dx_ec_init(); + /* * The mainboard is the first place that we get control in ramstage. Check * for S3 resume and call the approriate AGESA/CIMx resume functions. -- cgit v1.2.3