LPC43xx fix: Logic was disabling XTAL, not enabling it

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4924 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2012-07-10 16:10:38 +00:00
parent 231e9e262d
commit f65ee52752
1 changed files with 2 additions and 2 deletions

View File

@ -151,9 +151,9 @@ static inline void lpc43_xtalconfig(void)
#endif
putreg32(regval, LPC43_XTAL_OSC_CTRL);
/* Enable the crystal oscillator */
/* Enable the crystal oscillator by taking it out of power down mode */
regval |= XTAL_OSC_CTRL_ENABLE;
regval &= ~XTAL_OSC_CTRL_ENABLE;
putreg32(regval, LPC43_XTAL_OSC_CTRL);
/* Delay for stable clock input */