From 60012ac64e4b1ecc0d9a1b6fd497020dfd70a31e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Mon, 8 Jul 2019 00:01:42 +0300 Subject: arch/x86: Replace some uses of SMM_TSEG MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit No reason why the files could not be used with ASEG. Attempts to use malloc() from ASEG would still fail, though, due the lack of heap. Change-Id: Idf470ae84eb34c442e833925510b08d5314e7638 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/34126 Reviewed-by: Nico Huber Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) --- src/console/Makefile.inc | 4 ++-- src/lib/Makefile.inc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/console/Makefile.inc b/src/console/Makefile.inc index 4f0c2ef613..3311849941 100644 --- a/src/console/Makefile.inc +++ b/src/console/Makefile.inc @@ -8,8 +8,8 @@ ramstage-$(CONFIG_RAMSTAGE_LIBHWBASE) += hw-debug_sink.adb endif smm-$(CONFIG_DEBUG_SMI) += init.c console.c vtxprintf.c printk.c -smm-$(CONFIG_SMM_TSEG) += die.c -smm-$(CONFIG_SMM_TSEG) += post.c +smm-y += die.c +smm-y += post.c verstage-y += init.c verstage-y += printk.c diff --git a/src/lib/Makefile.inc b/src/lib/Makefile.inc index f6d3f6deb5..f0738eef4e 100644 --- a/src/lib/Makefile.inc +++ b/src/lib/Makefile.inc @@ -117,7 +117,6 @@ ramstage-y += fmap.c ramstage-y += memchr.c ramstage-y += memcmp.c ramstage-y += malloc.c -smm-$(CONFIG_SMM_TSEG) += malloc.c ramstage-y += dimm_info_util.c ramstage-y += delay.c ramstage-y += fallback_boot.c @@ -190,6 +189,7 @@ romstage-y += boot_device.c ramstage-y += boot_device.c smm-y += boot_device.c +smm-y += malloc.c smm-y += delay.c smm-y += fmap.c smm-y += cbfs.c memcmp.c -- cgit v1.2.3