[rtems commit] bsp/tms570: Fix PBIST clock enable
Sebastian Huber
sebh at rtems.org
Mon Jan 15 09:36:31 UTC 2024
Module: rtems
Branch: master
Commit: 36192165e2b7d9ec4192c339af8611a81e3aed4e
Changeset: http://git.rtems.org/rtems/commit/?id=36192165e2b7d9ec4192c339af8611a81e3aed4e
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Dec 21 15:16:48 2023 +0100
bsp/tms570: Fix PBIST clock enable
Bit 1 of the PACT is reserved (writes have no effect).
Update #4982.
---
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;
More information about the vc
mailing list