soc/amd/genoa: Hook SMP and SMM init
All CPUs properly come out of reset and relocate SMM.
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Change-Id: I8c2d976addacd5a2ba70eb629510128853b9f847
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76523
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
diff --git a/src/soc/amd/genoa/Makefile.inc b/src/soc/amd/genoa/Makefile.inc
index 506f6cf..96acc43 100644
--- a/src/soc/amd/genoa/Makefile.inc
+++ b/src/soc/amd/genoa/Makefile.inc
@@ -14,8 +14,12 @@
ramstage-y += aoac.c
ramstage-y += chip.c
+ramstage-y += cpu.c
ramstage-y += domain.c
ramstage-y += root_complex.c
+ramstage-y += smihandler.c
+
+smm-y += smihandler.c
CPPFLAGS_common += -I$(src)/soc/amd/genoa/include