summaryrefslogtreecommitdiffstats
path: root/bsps
diff options
context:
space:
mode:
authorTyler Miller <tyler.miller@airbusus.com>2023-12-21 15:16:48 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2024-01-15 10:33:24 +0100
commit39fd4b142ef9dced7522dcd18c9995133684ae1b (patch)
treece18836efeebbf2a0591c894acc0a7e3612ebeae /bsps
parentbsp/tms570: Add tms570_pbist_run_and_check() (diff)
downloadrtems-39fd4b142ef9dced7522dcd18c9995133684ae1b.tar.bz2
bsp/tms570: Remove double pin configuration
Do not set pins to the default function before the actual setting is applied. If a pin setting needs to be done in a certain order, then this should be done explicitly through multiple calls to tms570_bsp_pinmmr_config(). Update #4982.
Diffstat (limited to 'bsps')
-rw-r--r--bsps/arm/tms570/start/pinmux.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/bsps/arm/tms570/start/pinmux.c b/bsps/arm/tms570/start/pinmux.c
index d9c52cd00d..9277a36431 100644
--- a/bsps/arm/tms570/start/pinmux.c
+++ b/bsps/arm/tms570/start/pinmux.c
@@ -183,16 +183,6 @@ tms570_bsp_pinmmr_config(const uint32_t *pinmmr_values, int reg_start, int reg_c
cnt = reg_count;
do {
- *pinmmrx = *pinmmrx & *pval;
- pinmmrx++;
- pval++;
- } while( --cnt );
-
- pinmmrx = (&TMS570_IOMM.PINMUX.PINMMR0) + reg_start;
- pval = pinmmr_values;
- cnt = reg_count;
-
- do {
*pinmmrx = *pval;
pinmmrx++;
pval++;