summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/myst/Makefile.inc33
1 files changed, 16 insertions, 17 deletions
diff --git a/src/mainboard/google/myst/Makefile.inc b/src/mainboard/google/myst/Makefile.inc
index 9a8f8d8918..59c11f46f1 100644
--- a/src/mainboard/google/myst/Makefile.inc
+++ b/src/mainboard/google/myst/Makefile.inc
@@ -28,23 +28,22 @@ APCB_SOURCES = $(MAINBOARD_BLOBS_DIR)/$(APCB_NAME).bin
# Add the below section back in after the apcbtool is updated to handle the
# Phoenix APCB SPD configuration.
-#ifneq ($(wildcard $(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/memory/Makefile.inc),)
-#
-#LIB_SPD_DEPS = $(SPD_SOURCES)
-#
-#APCB_SOURCES = $(obj)/$(APCB_NAME).gen
-#
-#$(obj)/$(APCB_NAME).gen: $(SPD_SOURCES) \
-# $(APCB_V3_EDIT_TOOL) \
-# $(MAINBOARD_BLOBS_DIR)/$(APCB_NAME).bin
-# $(APCB_V3_EDIT_TOOL) $(MAINBOARD_BLOBS_DIR)/$(APCB_NAME).bin \
-# $(obj)/$(APCB_NAME).gen \
-# --spd_sources $(SPD_SOURCES) \
-# --mem_type 'lp5'
-#else
-#$(info SPD sources not found. Skipping APCB.)
-#files_added:: die_no_apcb
-#endif
+ifneq ($(wildcard $(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/memory/Makefile.inc),)
+
+LIB_SPD_DEPS = $(SPD_SOURCES)
+
+APCB_SOURCES = $(obj)/$(APCB_NAME).gen
+
+$(obj)/$(APCB_NAME).gen: $(SPD_SOURCES) \
+ $(APCB_V3A_EDIT_TOOL) \
+ $(MAINBOARD_BLOBS_DIR)/$(APCB_NAME).bin
+ $(APCB_V3A_EDIT_TOOL) $(MAINBOARD_BLOBS_DIR)/$(APCB_NAME).bin \
+ $(obj)/$(APCB_NAME).gen \
+ --spd_sources $(SPD_SOURCES)
+else
+$(info SPD sources not found. Skipping APCB.)
+files_added:: die_no_apcb
+endif
else
$(info APCB sources not found. Skipping APCB.)