[PATCH 06/17] mpc55xxevb/clock/clock-config.c: Remove unused mpc55xx_clock_cleanup() method

Joel Sherrill joel at rtems.org
Wed Aug 29 20:15:19 UTC 2018


---
 bsps/powerpc/mpc55xxevb/clock/clock-config.c | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/bsps/powerpc/mpc55xxevb/clock/clock-config.c b/bsps/powerpc/mpc55xxevb/clock/clock-config.c
index 2c2122a..3274aa7 100644
--- a/bsps/powerpc/mpc55xxevb/clock/clock-config.c
+++ b/bsps/powerpc/mpc55xxevb/clock/clock-config.c
@@ -147,16 +147,6 @@ static void mpc55xx_clock_initialize(void)
   );
 }
 
-static void mpc55xx_clock_cleanup(void)
-{
-  volatile struct EMIOS_CH_tag *regs = &EMIOS.CH [MPC55XX_CLOCK_EMIOS_CHANNEL];
-  union EMIOS_CCR_tag ccr = MPC55XX_ZERO_FLAGS;
-
-  /* Set channel in GPIO mode */
-  ccr.B.MODE = MPC55XX_EMIOS_MODE_GPIO_INPUT;
-  regs->CCR.R = ccr.R;
-}
-
 #elif defined(MPC55XX_CLOCK_PIT_CHANNEL)
 
 static uint32_t mpc55xx_tc_get(rtems_timecounter_simple *tc)
-- 
1.8.3.1




More information about the devel mailing list