summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/nest/p9_pba_setup.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/nest/p9_pba_setup.C')
-rw-r--r--src/import/chips/p9/procedures/hwp/nest/p9_pba_setup.C11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/import/chips/p9/procedures/hwp/nest/p9_pba_setup.C b/src/import/chips/p9/procedures/hwp/nest/p9_pba_setup.C
index 32df239e..ad47890d 100644
--- a/src/import/chips/p9/procedures/hwp/nest/p9_pba_setup.C
+++ b/src/import/chips/p9/procedures/hwp/nest/p9_pba_setup.C
@@ -1,7 +1,7 @@
/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
-/* $Source: import/chips/p9/procedures/hwp/nest/p9_pba_setup.C $ */
+/* $Source: src/import/chips/p9/procedures/hwp/nest/p9_pba_setup.C $ */
/* */
/* OpenPOWER sbe Project */
/* */
@@ -68,10 +68,11 @@ extern "C"
FAPI_TRY(p9_pba_coherent_utils_check_fbc_state(i_target),
"Error from p9_pba_coherent_utils_check_fbc_state");
- //reset the ADU - cleanup just calls reset
- //TODO Joe had made a comment on this about resetting the PBA as part of the setup process - I need to test
- //this more before I'm willing to actually put this in - I got some errors when I had it in earlier.
- //FAPI_TRY(p9_pba_coherent_cleanup_pba(i_target), "p9_pba_setup: Error from p9_pba_cleanup_pba");
+ //reset the PBA - cleanup just calls reset
+ FAPI_TRY(p9_pba_coherent_cleanup_pba(i_target), "Error from p9_pba_cleanup_pba");
+
+ //Check to make sure that it's ready for another write
+ FAPI_TRY(p9_pba_coherent_status_check(i_target), "Error from p9_pba_coherent_status_check");
//The PBA Bar and PBA Bar Mask need to be setup before getting the number of granules because how they get setup affects the number of granules that can be read/written
//setup the PBA Bar
OpenPOWER on IntegriCloud