diff options
author | Claus Michael Olsen <cmolsen@us.ibm.com> | 2016-09-06 14:59:11 -0500 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2016-09-26 04:24:33 -0400 |
commit | 7605936bb6d5ecaf7f77fc4b43b4f1fe6196f9aa (patch) | |
tree | a3183f9d296084cbdd9100d7e6fcd0b637f383ec /src/import/chips/p9/utils/imageProcs/p9_tor.C | |
parent | 4b56547bd2ed3d823d7f8db980ab96041c829d1c (diff) | |
download | talos-sbe-7605936bb6d5ecaf7f77fc4b43b4f1fe6196f9aa.tar.gz talos-sbe-7605936bb6d5ecaf7f77fc4b43b4f1fe6196f9aa.zip |
xip_customize: More removal of trace output noise for Cronus.
Change-Id: I67153e2e00c2f09b407020fb14039b1fab2cf794
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29286
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30265
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src/import/chips/p9/utils/imageProcs/p9_tor.C')
-rw-r--r-- | src/import/chips/p9/utils/imageProcs/p9_tor.C | 86 |
1 files changed, 67 insertions, 19 deletions
diff --git a/src/import/chips/p9/utils/imageProcs/p9_tor.C b/src/import/chips/p9/utils/imageProcs/p9_tor.C index d502e5fa..4d19c6ab 100644 --- a/src/import/chips/p9/utils/imageProcs/p9_tor.C +++ b/src/import/chips/p9/utils/imageProcs/p9_tor.C @@ -316,7 +316,7 @@ int get_ring_from_sbe_image ( void* i_ringSection, // Image pointer return IMGBUILD_TGR_BUFFER_TOO_SMALL; } - if(i_dbgl > 1) + if(i_dbgl > 0) { MY_INF(" ring container of %s is found in the SBE image container \n", o_ringName); @@ -360,8 +360,12 @@ int get_ring_from_sbe_image ( void* i_ringSection, // Image pointer } else { - MY_INF(" ring container of %s is not found in the SBE image container \n", - o_ringName); + if(i_dbgl > 0) + { + MY_INF(" ring container of %s is not found in the SBE image container \n", + o_ringName); + } + return IMGBUILD_TGR_RING_NOT_FOUND; } } @@ -369,7 +373,11 @@ int get_ring_from_sbe_image ( void* i_ringSection, // Image pointer { if(chiplet_offset) { - MY_INF("Ring container is already present in the ring section \n"); + if(i_dbgl > 0) + { + MY_INF("Ring container is already present in the ring section \n"); + } + return IMGBUILD_TGR_RING_AVAILABLE_IN_RINGSECTION; } @@ -486,8 +494,12 @@ int get_ring_from_sbe_image ( void* i_ringSection, // Image pointer } else { - MY_INF(" ring container of %s is not found in the SBE image container \n", - o_ringName); + if(i_dbgl > 0) + { + MY_INF(" ring container of %s is not found in the SBE image container \n", + o_ringName); + } + return IMGBUILD_TGR_RING_NOT_FOUND; } } @@ -495,7 +507,11 @@ int get_ring_from_sbe_image ( void* i_ringSection, // Image pointer { if(chiplet_offset) { - MY_INF("Ring container is already present in the ring section \n"); + if(i_dbgl > 0) + { + MY_INF("Ring container is already present in the ring section \n"); + } + return IMGBUILD_TGR_RING_AVAILABLE_IN_RINGSECTION; } @@ -667,8 +683,12 @@ int get_ring_from_sgpe_image ( void* i_ringSection, // Image pointer } else { - MY_INF(" ring container of %s is not found in the SGPE image container \n", - o_ringName); + if(i_dbgl > 0) + { + MY_INF(" ring container of %s is not found in the SGPE image container \n", + o_ringName); + } + return IMGBUILD_TGR_RING_NOT_FOUND; } } @@ -676,7 +696,11 @@ int get_ring_from_sgpe_image ( void* i_ringSection, // Image pointer { if(chiplet_offset) { - MY_INF("Ring container is already present in the ring section \n"); + if(i_dbgl > 0) + { + MY_INF("Ring container is already present in the ring section \n"); + } + return IMGBUILD_TGR_RING_AVAILABLE_IN_RINGSECTION; } @@ -796,8 +820,12 @@ int get_ring_from_sgpe_image ( void* i_ringSection, // Image pointer } else { - MY_INF(" ring container of %s is not found in the SGPE image container \n", - o_ringName); + if(i_dbgl > 0) + { + MY_INF(" ring container of %s is not found in the SGPE image container \n", + o_ringName); + } + return IMGBUILD_TGR_RING_NOT_FOUND; } } @@ -805,7 +833,11 @@ int get_ring_from_sgpe_image ( void* i_ringSection, // Image pointer { if(chiplet_offset) { - MY_INF("Ring container is already present in the ring section \n"); + if(i_dbgl > 0) + { + MY_INF("Ring container is already present in the ring section \n"); + } + return IMGBUILD_TGR_RING_AVAILABLE_IN_RINGSECTION; } @@ -976,8 +1008,12 @@ int get_ring_from_cme_image ( void* } else { - MY_INF(" ring container of %s is not found in the CME image container \n", - o_ringName); + if(i_dbgl > 0) + { + MY_INF(" ring container of %s is not found in the CME image container \n", + o_ringName); + } + return IMGBUILD_TGR_RING_NOT_FOUND; } } @@ -985,7 +1021,11 @@ int get_ring_from_cme_image ( void* { if(chiplet_offset) { - MY_INF("Ring container is already present in the ring section \n"); + if(i_dbgl > 0) + { + MY_INF("Ring container is already present in the ring section \n"); + } + return IMGBUILD_TGR_RING_AVAILABLE_IN_RINGSECTION; } @@ -1109,8 +1149,12 @@ int get_ring_from_cme_image ( void* } else { - MY_INF(" ring container of %s is not found in the CME image container \n", - o_ringName); + if(i_dbgl > 0) + { + MY_INF(" ring container of %s is not found in the CME image container \n", + o_ringName); + } + return IMGBUILD_TGR_RING_NOT_FOUND; } } @@ -1118,7 +1162,11 @@ int get_ring_from_cme_image ( void* { if(chiplet_offset) { - MY_INF("Ring container is already present in the ring section \n"); + if(i_dbgl > 0) + { + MY_INF("Ring container is already present in the ring section \n"); + } + return IMGBUILD_TGR_RING_AVAILABLE_IN_RINGSECTION; } |