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 /hwpf/src | |
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 'hwpf/src')
-rw-r--r-- | hwpf/src/plat/target.C | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/hwpf/src/plat/target.C b/hwpf/src/plat/target.C index a1c6ca38..fea3a6f7 100644 --- a/hwpf/src/plat/target.C +++ b/hwpf/src/plat/target.C @@ -295,7 +295,6 @@ fapi_try_exit: fapi2::ReturnCode plat_TargetsInit() { bool b_present = false; - uint32_t c = 0; // Initialise global attribute pointers G_system_attributes_ptr = &G_system_attributes; @@ -405,14 +404,6 @@ fapi_try_exit: G_vec_targets.at(l_beginning_offset+i) = revle64((fapi2::plat_target_handle_t)(target_name.get())); } - // Trace all entries - for (auto tgt_iter : G_vec_targets) - { - FAPI_DBG("G_vec_targets[%u] value=%08X", - c, (uint32_t)(tgt_iter)); - ++c; - } - fapi_try_exit: return fapi2::current_err; } @@ -466,6 +457,7 @@ fapi_try_exit: { if((l_mask >> l_idx) & (l_ecGards)) { + FAPI_DBG("Making %d'th EC non-functional", l_idx); // EC chiplet l_idx is to be marked non-functional fapi2::Target<fapi2::TARGET_TYPE_CORE> l_target = G_vec_targets.at(l_idx + CORE_TARGET_OFFSET); l_target.setFunctional(false); |