commenting out CGU_PLL1_CTRL_DIRECT=1 because it breaks boot from spifi
This commit is contained in:
@ -252,8 +252,8 @@ void cpu_clock_init(void)
|
|||||||
| CGU_PLL1_CTRL_PSEL(0)
|
| CGU_PLL1_CTRL_PSEL(0)
|
||||||
| CGU_PLL1_CTRL_NSEL(0)
|
| CGU_PLL1_CTRL_NSEL(0)
|
||||||
| CGU_PLL1_CTRL_MSEL(16)
|
| CGU_PLL1_CTRL_MSEL(16)
|
||||||
| CGU_PLL1_CTRL_FBSEL
|
| CGU_PLL1_CTRL_FBSEL;
|
||||||
| CGU_PLL1_CTRL_DIRECT;
|
//| CGU_PLL1_CTRL_DIRECT;
|
||||||
|
|
||||||
/* wait until stable */
|
/* wait until stable */
|
||||||
while (!(CGU_PLL1_STAT & CGU_PLL1_STAT_LOCK));
|
while (!(CGU_PLL1_STAT & CGU_PLL1_STAT_LOCK));
|
||||||
|
Reference in New Issue
Block a user