summaryrefslogtreecommitdiffstats
path: root/import/chips
diff options
context:
space:
mode:
authorRaja Das <rajadas2@in.ibm.com>2016-02-09 03:10:11 -0600
committerAMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>2016-03-24 00:57:24 -0400
commit9b222a06e7013429df09bf7ebbbaead076ad5acc (patch)
tree61ba8d1d4c772ffcc0c0752616db44469afd6a69 /import/chips
parent19139d2eb05f1211bd21e5ee3689ae9a215cf0fc (diff)
downloadtalos-sbe-9b222a06e7013429df09bf7ebbbaead076ad5acc.tar.gz
talos-sbe-9b222a06e7013429df09bf7ebbbaead076ad5acc.zip
Get/Put Occ Sram Support
Change-Id: I8f4669bfbca3d58d8f55d5d115d370bfa99ae49d RTC:128980 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/20658 Tested-by: Jenkins Server Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
Diffstat (limited to 'import/chips')
-rw-r--r--import/chips/p9/procedures/hwp/pm/Makefile30
-rw-r--r--import/chips/p9/procedures/hwp/pm/pmfiles.mk19
-rw-r--r--import/chips/p9/procedures/xml/error_info/hwpErrors.mk2
3 files changed, 51 insertions, 0 deletions
diff --git a/import/chips/p9/procedures/hwp/pm/Makefile b/import/chips/p9/procedures/hwp/pm/Makefile
new file mode 100644
index 00000000..5dace688
--- /dev/null
+++ b/import/chips/p9/procedures/hwp/pm/Makefile
@@ -0,0 +1,30 @@
+
+# This Makefile compiles all of the pm hardware procedure code. See the
+# "pmfiles.mk" file in this directory.
+
+#all generated files from this makefile will end up in obj/pm
+export SUB_OBJDIR = /pm
+
+include img_defs.mk
+include pmfiles.mk
+
+
+OBJS := $(addprefix $(OBJDIR)/, $(PM_OBJECTS))
+
+libpm.a: pm
+ $(AR) crs $(OBJDIR)/libpm.a $(OBJDIR)/*.o
+
+.PHONY: clean pm
+pm: $(OBJS)
+
+$(OBJS) $(OBJS:.o=.d): | $(OBJDIR)
+
+$(OBJDIR):
+ mkdir -p $(OBJDIR)
+
+clean:
+ rm -fr $(OBJDIR)
+
+ifneq ($(MAKECMDGOALS),clean)
+include $(OBJS:.o=.d)
+endif
diff --git a/import/chips/p9/procedures/hwp/pm/pmfiles.mk b/import/chips/p9/procedures/hwp/pm/pmfiles.mk
new file mode 100644
index 00000000..a43c3c73
--- /dev/null
+++ b/import/chips/p9/procedures/hwp/pm/pmfiles.mk
@@ -0,0 +1,19 @@
+# @file pmfiles.mk
+#
+# @brief mk for including pm object files
+#
+##########################################################################
+# Object Files
+##########################################################################
+
+PM-CPP-SOURCES +=p9_pm_ocb_indir_access.C
+PM-CPP-SOURCES +=p9_pm_ocb_indir_setup_circular.C
+PM-CPP-SOURCES +=p9_pm_ocb_indir_setup_linear.C
+PM-CPP-SOURCES +=p9_pm_ocb_init.C
+PM-CPP-SOURCES +=p9_pm_utils.C
+PM-C-SOURCES =
+PM-S-SOURCES =
+
+PM_OBJECTS += $(PM-CPP-SOURCES:.C=.o)
+PM_OBJECTS += $(PM-C-SOURCES:.c=.o)
+PM_OBJECTS += $(PM-S-SOURCES:.S=.o)
diff --git a/import/chips/p9/procedures/xml/error_info/hwpErrors.mk b/import/chips/p9/procedures/xml/error_info/hwpErrors.mk
index bbddbad7..147cb2c2 100644
--- a/import/chips/p9/procedures/xml/error_info/hwpErrors.mk
+++ b/import/chips/p9/procedures/xml/error_info/hwpErrors.mk
@@ -31,3 +31,5 @@ ERROR_XML_FILES += $(PERV_CURR_DIR)/p9_thread_control_errors.xml
ERROR_XML_FILES += $(PERV_CURR_DIR)/p9_sbe_startclock_chiplets_errors.xml
ERROR_XML_FILES += $(PERV_CURR_DIR)/p9_sbe_select_ex_errors.xml
ERROR_XML_FILES += $(PERV_CURR_DIR)/p9_sbe_check_master_stop15_errors.xml
+ERROR_XML_FILES += $(PERV_CURR_DIR)/p9_pm_ocb_indir_access_errors.xml
+ERROR_XML_FILES += $(PERV_CURR_DIR)/p9_pm_ocb_init_errors.xml
OpenPOWER on IntegriCloud