9
0
Fork 0

This is the correct fix to the problem

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@2924 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo 2010-09-06 19:45:28 +00:00
parent 6cc712238c
commit 42feb129ac
2 changed files with 1 additions and 11 deletions

View File

@ -385,16 +385,6 @@ void up_boot(void)
lpc313x_lowsetup();
/* NOTE: Something in the operation of lpc313x_resetclks() causes the first
* 6 words of memory to be zeroed, wiping out the interrupt vectors. However,
* moving the vector initialization until after the clock setup seems to hang
* the system (and I can't step though the clock setup to find why without
* losing my JTAG connection). So, the simplest work-around is to simply
* initialize the vectors twice.
*/
up_copyvectorblock();
/* Perform early serial initialization if we are going to use the serial driver */
#ifdef CONFIG_USE_EARLYSERIALINIT

View File

@ -146,6 +146,6 @@ void lpc313x_resetclks(void)
regaddr = LPC313X_CGU_FDC(i);
regval = getreg32(regaddr);
regval &= ~CGU_FDC_RUN;
putreg32(regval, i);
putreg32(regval, regaddr);
}
}