diff --git a/arch/arm/src/sama5/sam_clockconfig.c b/arch/arm/src/sama5/sam_clockconfig.c index e7806eef11..2cafe8b675 100644 --- a/arch/arm/src/sama5/sam_clockconfig.c +++ b/arch/arm/src/sama5/sam_clockconfig.c @@ -466,10 +466,10 @@ static inline void sam_usbclockconfig(void) regval |= SFR_UTMICKTRIM_FREQ_48MHZ; #else # error Board oscillator frequency not compatible with use of UPLL -#endif #endif putreg32(regval, (SAM_SFR_VBASE + SAM_SFR_UTMICKTRIM_OFFSET)); +#endif regval = PMC_CKGR_UCKR_UPLLCOUNT(BOARD_CKGR_UCKR_UPLLCOUNT); putreg32(regval, SAM_PMC_CKGR_UCKR);