Commit 97b070c8 authored by Mike Frysinger's avatar Mike Frysinger

Blackfin: add note about anomaly 05000242 being worked around

Document anomaly 05000242 workaround in source code.
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 5ba76675
...@@ -72,6 +72,7 @@ void init_clocks(void) ...@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment