From e128c527180ea172bf5311e42940fde18b894b6b Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 21 May 2015 10:07:42 -0600 Subject: [PATCH] SAMD/L: Move GCLK configuration logic to its own C file --- configs/saml21-xplained/include/board.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configs/saml21-xplained/include/board.h b/configs/saml21-xplained/include/board.h index 309633b1d2..839d9fb8c2 100644 --- a/configs/saml21-xplained/include/board.h +++ b/configs/saml21-xplained/include/board.h @@ -228,11 +228,17 @@ /* Fractional Digital Phase Locked Loop configuration. * - * BOARD_FDPLL96M_REFCLK - See OSCCTRL_DPLLCTRLB_REFLCK_* definitions + * BOARD_FDPLL96M_ENABLE - Boolean (defined / not defined) + * BOARD_FDPLL96M_REFCLK - See OSCCTRL_DPLLCTRLB_REFLCK_* definitions + * BOARD_FDPLL96M_REFCLK_CLKGEN - See GCLK_CLKCTRL_GEN* definitions + * BOARD_FDPLL96M_LOCKTIME_ENABLE - Boolean (defined / not defined) */ #undef BOARD_FDPLL96M_ENABLE #define BOARD_FDPLL96M_REFCLK OSCCTRL_DPLLCTRLB_REFLCK_XOSC +#define BOARD_FDPLL96M_REFCLK_CLKGEN GCLK_CLKCTRL_GEN1 +#undef BOARD_FDPLL96M_LOCKTIME_ENABLE +#define BOARD_FDPLL96M_LOCKTIME_CLKGEN GCLK_CLKCTRL_GEN1 /* GCLK Configuration *