aboutsummaryrefslogtreecommitdiff
path: root/src/ec/lenovo/h8/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/lenovo/h8/Makefile.inc')
-rw-r--r--src/ec/lenovo/h8/Makefile.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ec/lenovo/h8/Makefile.inc b/src/ec/lenovo/h8/Makefile.inc
index da9cee1d9f..c37a6e1bf7 100644
--- a/src/ec/lenovo/h8/Makefile.inc
+++ b/src/ec/lenovo/h8/Makefile.inc
@@ -1,5 +1,10 @@
ifeq ($(CONFIG_EC_LENOVO_H8),y)
+ifneq ($(filter y,$(CONFIG_H8_BEEP_ON_DEATH) $(CONFIG_H8_FLASH_LEDS_ON_DEATH)),)
+romstage-y += panic.c
+ramstage-y += panic.c
+endif
+
ramstage-y += h8.c
smm-y += smm.c