diff options
author | Santosh Puranik <santosh.puranik@in.ibm.com> | 2016-02-18 06:30:40 -0600 |
---|---|---|
committer | Gregory S. Still <stillgs@us.ibm.com> | 2016-02-29 07:56:32 -0500 |
commit | fe372b80a09ce301e02dcc0bf0059f057a042be1 (patch) | |
tree | 6aca53776acb2b4e2d643ad77bcb83e51bae6948 /sbe/image | |
parent | 1ed76cca77ac405c8daec3ac3ff3bb6e4a2e6c6b (diff) | |
download | talos-sbe-fe372b80a09ce301e02dcc0bf0059f057a042be1.tar.gz talos-sbe-fe372b80a09ce301e02dcc0bf0059f057a042be1.zip |
Some changes to reduce image size
1) Force get/put scom plat functions to be inline
2) Inline ATTR get/set functions
3) FAPI RC is now 32-bit
4) Enable selective trace levels
RTC: 141492
Change-Id: Ie8a5bce597751b5484b2e9c89d614999a555f366
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21023
Tested-by: Jenkins Server
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
Diffstat (limited to 'sbe/image')
-rw-r--r-- | sbe/image/img_defs.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sbe/image/img_defs.mk b/sbe/image/img_defs.mk index 339b10d0..ba883473 100644 --- a/sbe/image/img_defs.mk +++ b/sbe/image/img_defs.mk @@ -213,6 +213,11 @@ GCC-O-LEVEL = -Os endif endif +FAPI_TRACE_LEVEL_DEF = 3 +ifdef FAPI_TRACE_LEVEL_ENV +FAPI_TRACE_LEVEL_DEF = $(FAPI_TRACE_LEVEL_ENV) +endif + GCC-DEFS += -DIMAGE_NAME=$(IMAGE_SEEPROM_NAME) GCC-DEFS += -DPK_TIMER_SUPPORT=$(PK_TIMER_SUPPORT) GCC-DEFS += -DPK_THREAD_SUPPORT=$(PK_THREAD_SUPPORT) @@ -223,6 +228,7 @@ GCC-DEFS += -D__PK__=1 GCC-DEFS += -D__SBE__=1 GCC-DEFS += -D__PPE__=1 GCC-DEFS += -DFAPI2_NO_FFDC=1 +GCC-DEFS += -DFAPI_TRACE_LEVEL=$(FAPI_TRACE_LEVEL_DEF) # use the default settings in the code unless a size is defined ifdef PK_TRACE_SZ GCC-DEFS += -DPK_TRACE_SZ=$(PK_TRACE_SZ) |