aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso/psp_verstage/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/picasso/psp_verstage/Makefile.inc')
-rw-r--r--src/soc/amd/picasso/psp_verstage/Makefile.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/amd/picasso/psp_verstage/Makefile.inc b/src/soc/amd/picasso/psp_verstage/Makefile.inc
index 4f1642bdf7..0986fd8750 100644
--- a/src/soc/amd/picasso/psp_verstage/Makefile.inc
+++ b/src/soc/amd/picasso/psp_verstage/Makefile.inc
@@ -5,6 +5,9 @@ verstage-generic-ccopts += -I$(src)/vendorcode/amd/fsp/picasso/include
verstage-generic-ccopts += -D__USER_SPACE__
CPPFLAGS_common += -I$(VBOOT_SOURCE)/firmware/2lib/include/
+# This size should match the size in the linker script.
+CFLAGS_arm += -Wstack-usage=40960
+
verstage-y += delay.c
verstage-y += fch.c
verstage-y += pmutil.c