stm32f4: rcc: remove unnecessary pllsai functions

existing standard functions for these are
 * rcc_osc_on(RCC_PLLSAI);
 * rcc_is_osc_ready(RCC_PLLSAI);
This commit is contained in:
Jonathan Halmen 2019-07-27 19:09:43 +02:00 committed by Karl Palsson
parent 5fbe5c8c47
commit 203d0ca295
1 changed files with 0 additions and 12 deletions

View File

@ -756,18 +756,6 @@
#define RCC_CKGATENR_AHB2APB1_CKEN (1<<0)
/*@}*/
/* PLLSAI1 helper macros */
static inline void rcc_pllsai_enable(void)
{
RCC_CR |= RCC_CR_PLLSAION;
}
static inline bool rcc_pllsai_ready(void)
{
return (RCC_CR & RCC_CR_PLLSAIRDY) != 0;
}
/* --- Variable definitions ------------------------------------------------ */
extern uint32_t rcc_ahb_frequency;
extern uint32_t rcc_apb1_frequency;