HCODE Build Infrastructure Changes for P10
- Remove HCODE Binary Override Mechanism
- Remove use of ECMD in build process
- Add OPENPOWER_BUILD=1 back to HCODE compilation setup
- Include patch to allow for override of SELF_REST_PREFIX in HCODE Makefiles
diff --git a/openpower/package/hostboot-binaries/hostboot_binaries.mk b/openpower/package/hostboot-binaries/hostboot_binaries.mk
index bd22b3a..5402076 100644
--- a/openpower/package/hostboot-binaries/hostboot_binaries.mk
+++ b/openpower/package/hostboot-binaries/hostboot_binaries.mk
@@ -59,19 +59,8 @@
endif
###################################
-# P10 Workaround
-ifeq ($(BR2_HOSTBOOT_BINARIES_USE_HCODE_BIN),y)
-
-HCODE_BIN_FILE=p10.ref_image.bin
-
-define HOSTBOOT_BINARIES_INSTALL_IMAGES_CMDS
- $(INSTALL) -D $(@D)/gpu_gpe1.bin $(STAGING_DIR)/hostboot_binaries/gpu_gpe1.bin
- $(INSTALL) -D $(@D)/$(HCODE_BIN_FILE) $(STAGING_DIR)/hostboot_binaries/$(HCODE_BIN_FILE)
- $(INSTALL) -D $(@D)/$(BR2_HOSTBOOT_BINARY_IONV_FILENAME) $(STAGING_DIR)/hostboot_binaries/
- $(INSTALL) -D $(@D)/$(BR2_HOSTBOOT_BINARY_SBEC_FILENAME) $(STAGING_DIR)/hostboot_binaries/
-endef
-
-else ifeq ($(BR2_OPENPOWER_POWER10),y)
+# P10:
+ifeq ($(BR2_OPENPOWER_POWER10),y)
P10_RING_DYNAMIC_FILE=p10.hw.dynamic.bin
P10_RING_OVERLAYS_FILE=p10.hw.overlays.bin