summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-12-28 18:53:14 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-01-03 18:08:48 +0000
commit4f73d930fe79547c8948ac6c52f86cf890c2e77f (patch)
tree399fcbb1962ac2fc093b32ec3f5e6fa556a26c70 /src/mainboard/google
parent029f8eae7ecefab3178304651446755e00894c64 (diff)
src/mainboard: Use smm-$(CONFIG_HAVE_SMI_HANDLER)
Use smm-$(CONFIG_HAVE_SMI_HANDLER) instead of smm-y Change-Id: I0f91bc3e6c8ab31d837ab89af62d700b35c1e01b Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/30485 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/poppy/variants/nocturne/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/poppy/variants/nocturne/Makefile.inc b/src/mainboard/google/poppy/variants/nocturne/Makefile.inc
index e558cfc9cb..260d9c0bf3 100644
--- a/src/mainboard/google/poppy/variants/nocturne/Makefile.inc
+++ b/src/mainboard/google/poppy/variants/nocturne/Makefile.inc
@@ -20,6 +20,6 @@ romstage-y += memory.c
ramstage-y += gpio.c
ramstage-y += nhlt.c
ramstage-y += mainboard.c
-
-smm-y += ec.c
ramstage-y += ec.c
+
+smm-$(CONFIG_HAVE_SMI_HANDLER) += ec.c