summaryrefslogtreecommitdiffstats
path: root/bsps/arm
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2023-12-21 15:16:48 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2024-01-15 10:33:17 +0100
commit36192165e2b7d9ec4192c339af8611a81e3aed4e (patch)
tree145b1c24c373ad3e8fe11cef498cb39c5f1cebd7 /bsps/arm
parentbsp/tms570: Add TMS570LC4357 BSP variants (diff)
downloadrtems-36192165e2b7d9ec4192c339af8611a81e3aed4e.tar.bz2
bsp/tms570: Fix PBIST clock enable
Bit 1 of the PACT is reserved (writes have no effect). Update #4982.
Diffstat (limited to 'bsps/arm')
-rw-r--r--bsps/arm/tms570/start/tms570_selftest.c4
1 files 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;