From a9a366171006aad3b928307c2dfb7b3e7793d4ef Mon Sep 17 00:00:00 2001 From: Alexandru Gagniuc Date: Fri, 18 Apr 2014 19:53:51 -0500 Subject: hp/pavilion_m6_1035dx: Move GEVENT/GPE definitions to common file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These definitions were scattered in a couple of files, and we risk scattering them all over the place. Provide a common file for these definitions. Change-Id: I1fe99e5097cf10a349661f3b2ae2377f5cdd6103 Signed-off-by: Alexandru Gagniuc Reviewed-on: http://review.coreboot.org/5547 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki --- src/mainboard/hp/pavilion_m6_1035dx/mainboard.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/mainboard/hp/pavilion_m6_1035dx/mainboard.h (limited to 'src/mainboard/hp/pavilion_m6_1035dx/mainboard.h') diff --git a/src/mainboard/hp/pavilion_m6_1035dx/mainboard.h b/src/mainboard/hp/pavilion_m6_1035dx/mainboard.h new file mode 100644 index 0000000000..1e69cc9134 --- /dev/null +++ b/src/mainboard/hp/pavilion_m6_1035dx/mainboard.h @@ -0,0 +1,22 @@ +/* + * "The way things are connected" and a few setup options + * + * Copyright (C) 2014 Alexandru Gagniuc + * Subject to the GNU GPL v2, or (at your option) any later version. + */ + +#ifndef _MAINBOARD_HP_PAVILION_M6_1035DX_MAINBOARD_H +#define _MAINBOARD_HP_PAVILION_M6_1035DX_MAINBOARD_H + +/* What is connected to GEVENT pins */ +#define EC_SCI_GEVENT 3 +#define EC_LID_GEVENT 22 +#define EC_SMI_GEVENT 23 + +/* Any GEVENT pin can be mapped to any GPE. We try to keep the mapping 1:1, but + * we make the distinction between GEVENT pin and SCI. + */ +#define EC_SCI_GPE EC_SCI_GEVENT + + +#endif /* _MAINBOARD_HP_PAVILION_M6_1035DX_MAINBOARD_H */ -- cgit v1.2.3