[rtems commit] mpc55xxevb/clock/clock-config.c: Remove unused mpc55xx_clock_cleanup() method
Joel Sherrill
joel at rtems.org
Thu Aug 30 13:39:24 UTC 2018
Module: rtems
Branch: master
Commit: c80f5afcb37dcd7f0b110acd479d59bc1a483f61
Changeset: http://git.rtems.org/rtems/commit/?id=c80f5afcb37dcd7f0b110acd479d59bc1a483f61
Author: Joel Sherrill <joel at rtems.org>
Date: Wed Aug 22 11:50:19 2018 -0500
mpc55xxevb/clock/clock-config.c: Remove unused mpc55xx_clock_cleanup() method
---
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)
More information about the vc
mailing list