[PATCH 24/47] bsp/tms570: Remove double pin configuration

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


From: Tyler Miller <tyler.miller at airbusus.com>

---
 bsps/arm/tms570/start/pinmux.c | 10 ----------
 1 file changed, 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
@@ -182,16 +182,6 @@ tms570_bsp_pinmmr_config(const uint32_t *pinmmr_values, int reg_start, int reg_c
   pval = pinmmr_values;
   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++;
-- 
2.35.3



More information about the devel mailing list