[PATCH 20/47] bsp/tms570: Fix PBIST clock enable

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Dec 21 14:37:53 UTC 2023


Bit 1 of the PACT is reserved (writes have no effect).
---
 bsps/arm/tms570/start/tms570_selftest.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bsps/arm/tms570/start/tms570_selftest.c b/bsps/arm/tms570/start/tms570_selftest.c
index 5a30a54c9f..f8a64abb7b 100644
--- a/bsps/arm/tms570/start/tms570_selftest.c
+++ b/bsps/arm/tms570/start/tms570_selftest.c
@@ -264,7 +264,7 @@ void tms570_pbist_self_check( void )
   }
 
   /* Enable PBIST clocks and ROM clock */
-  TMS570_PBIST.PACT = 0x3U;
+  TMS570_PBIST.PACT = 0x1U;
 
   /* CPU control of PBIST */
   TMS570_PBIST.DLR = 0x10U;
@@ -353,7 +353,7 @@ void tms570_pbist_run(
   }
 
   /* Enable PBIST clocks and ROM clock */
-  TMS570_PBIST.PACT = 0x3U;
+  TMS570_PBIST.PACT = 0x1U;
 
   /* Select all algorithms to be tested */
   TMS570_PBIST.ALGO = algomask;
-- 
2.35.3



More information about the devel mailing list