summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-07-08 00:01:42 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-07-09 12:44:10 +0000
commit60012ac64e4b1ecc0d9a1b6fd497020dfd70a31e (patch)
tree1b18ee3336b81b9d2532a2807f9e6d031cfd42e1 /src/lib
parent9265f89f4e892caa043f60272980e7cec81bce62 (diff)
downloadcoreboot-60012ac64e4b1ecc0d9a1b6fd497020dfd70a31e.tar.xz
arch/x86: Replace some uses of SMM_TSEG
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 <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34126 Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
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