From 26cf00ab498a78b59c9170d38d6ee7ced930259c Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Sun, 14 Oct 2018 02:39:46 +0000 Subject: ec/google/common: Add a common MEC interface In order to re-use the MEC interface code in the Chrome EC driver move it to a common directory within the ec/google directory. The Chrome EC driver itself is changed to use this interface in the next commit, and future commits will introduce a new EC that also uses this interface. Change-Id: I13516b5e4c4c49f53bb998366284a26703142e2a Signed-off-by: Duncan Laurie Reviewed-on: https://review.coreboot.org/29111 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Aaron Durbin --- src/ec/google/common/Makefile.inc | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/ec/google/common/Makefile.inc (limited to 'src/ec/google/common/Makefile.inc') diff --git a/src/ec/google/common/Makefile.inc b/src/ec/google/common/Makefile.inc new file mode 100644 index 0000000000..7ab2285ac6 --- /dev/null +++ b/src/ec/google/common/Makefile.inc @@ -0,0 +1,5 @@ +bootblock-$(CONFIG_EC_GOOGLE_COMMON_MEC) += mec.c +verstage-$(CONFIG_EC_GOOGLE_COMMON_MEC) += mec.c +romstage-$(CONFIG_EC_GOOGLE_COMMON_MEC) += mec.c +ramstage-$(CONFIG_EC_GOOGLE_COMMON_MEC) += mec.c +smm-$(CONFIG_EC_GOOGLE_COMMON_MEC) += mec.c -- cgit v1.2.3