summaryrefslogtreecommitdiffstats
path: root/sbe
diff options
context:
space:
mode:
authorSachin Gupta <sgupta2m@in.ibm.com>2016-08-24 02:21:21 -0500
committerSachin Gupta <sgupta2m@in.ibm.com>2016-08-24 03:47:09 -0400
commitbb68965f35de82a0bb6fc5680c6aab6b4b5b227b (patch)
treeab7679929329132469b1930f1e080e9261663e23 /sbe
parent68f423e25366a6b60433e0ed1fce2755e62bdec6 (diff)
downloadtalos-sbe-bb68965f35de82a0bb6fc5680c6aab6b4b5b227b.tar.gz
talos-sbe-bb68965f35de82a0bb6fc5680c6aab6b4b5b227b.zip
Update trace config for powron
Change-Id: Id0f44dd45cdb381bd3f18ebd0482f65fb867587e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28707 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'sbe')
-rw-r--r--sbe/image/img_defs.mk6
-rw-r--r--sbe/sbefw/pk_app_cfg.h6
2 files changed, 7 insertions, 5 deletions
diff --git a/sbe/image/img_defs.mk b/sbe/image/img_defs.mk
index 53137b26..451e4782 100644
--- a/sbe/image/img_defs.mk
+++ b/sbe/image/img_defs.mk
@@ -260,7 +260,6 @@ ifndef PK_TRACE_HASH_PREFIX
PK_TRACE_HASH_PREFIX := $(shell echo $(IMAGE_SEEPROM_NAME) | md5sum | cut -c1-4 | xargs -i printf "%d" 0x{})
endif
-
ifndef GCC-O-LEVEL
ifdef P2P_ENABLE
GCC-O-LEVEL = -O
@@ -271,7 +270,7 @@ GCC-O-LEVEL = -Os
endif
endif
-FAPI_TRACE_LEVEL_DEF = 3
+FAPI_TRACE_LEVEL_DEF = 4
ifdef FAPI_TRACE_LEVEL_ENV
FAPI_TRACE_LEVEL_DEF = $(FAPI_TRACE_LEVEL_ENV)
endif
@@ -375,9 +374,6 @@ GCC-CFLAGS += -ffunction-sections
GCC-CFLAGS += -fdata-sections
endif
-## Enable compiler flags for istep4
-GCC-CFLAGS += -DP9_HCD_STOP_SKIP_SCAN
-
CFLAGS =
PPE-CFLAGS = $(CFLAGS) -c $(GCC-CFLAGS) $(PIPE-CFLAGS) $(GCC-O-LEVEL) $(INCLUDES)
diff --git a/sbe/sbefw/pk_app_cfg.h b/sbe/sbefw/pk_app_cfg.h
index a7489ab8..bbc51fcf 100644
--- a/sbe/sbefw/pk_app_cfg.h
+++ b/sbe/sbefw/pk_app_cfg.h
@@ -136,4 +136,10 @@
#endif
#define PPE42_MACHINE_CHECK_HANDLER SBE_MACHINE_CHECK_HANDLER
+// Set the trace buffer size
+#ifdef PK_TRACE_SZ
+#undef PK_TRACE_SZ
+#endif
+#define PK_TRACE_SZ 4*1024
+
#endif /*__PK_APP_CFG_H__*/
OpenPOWER on IntegriCloud