Blackfin: add note about anomaly 05000242 being worked around
Document anomaly 05000242 workaround in source code. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
@@ -72,6 +72,7 @@ void init_clocks(void)
|
|||||||
#endif
|
#endif
|
||||||
bfin_write_PLL_LOCKCNT(0x300);
|
bfin_write_PLL_LOCKCNT(0x300);
|
||||||
do_sync();
|
do_sync();
|
||||||
|
/* We always write PLL_CTL thus avoiding Anomaly 05000242 */
|
||||||
bfin_write16(PLL_CTL, PLL_CTL_VAL);
|
bfin_write16(PLL_CTL, PLL_CTL_VAL);
|
||||||
__asm__ __volatile__("IDLE;");
|
__asm__ __volatile__("IDLE;");
|
||||||
bfin_write_PLL_DIV(CONFIG_CCLK_ACT_DIV | CONFIG_SCLK_DIV);
|
bfin_write_PLL_DIV(CONFIG_CCLK_ACT_DIV | CONFIG_SCLK_DIV);
|
||||||
|
Reference in New Issue
Block a user