summaryrefslogtreecommitdiff
path: root/src/console
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-01-26 11:32:51 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-03-04 15:36:27 +0100
commit9c479c9a3e3353d3a73e62d4b593bbe4129af4fd (patch)
treee24cd9de0b7ac357fe687b4a87a0abc1c8ca9316 /src/console
parentbea6bf07dfd9b97ad81fb7433464a9f61ff02105 (diff)
SMM: Only have console with DEBUG_SMI
Existing code compiled serial communication and printk() for SMM even when DEBUG_SMI was not selected. Change-Id: Ic5e25cd7453cb2243f7ac592b093fba752a299f7 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/5142 Tested-by: build bot (Jenkins) Reviewed-by: Vladimir Serbinenko <phcoder@gmail.com>
Diffstat (limited to 'src/console')
-rw-r--r--src/console/Makefile.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/console/Makefile.inc b/src/console/Makefile.inc
index 62be1d2b23..54d59cdeca 100644
--- a/src/console/Makefile.inc
+++ b/src/console/Makefile.inc
@@ -5,8 +5,7 @@ ramstage-y += vsprintf.c
ramstage-y += post.c
ramstage-y += die.c
-smm-y += printk.c
-smm-y += vtxprintf.c
+smm-$(CONFIG_DEBUG_SMI) += vtxprintf.c printk.c
smm-$(CONFIG_SMM_TSEG) += die.c
romstage-$(CONFIG_EARLY_CONSOLE) += vtxprintf.c