LPC43xx fix: Logic was disabling XTAL, not enabling it

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4924 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo
2012-07-10 16:10:38 +00:00
parent f756e3a738
commit ee57207deb
2 changed files with 7 additions and 4 deletions
+2 -2
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 */