Blackfin: add note about anomaly 05000242 being worked around
authorMike Frysinger <vapier@gentoo.org>
Fri, 24 Apr 2009 03:17:07 +0000 (03:17 +0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 12 Jun 2009 10:11:42 +0000 (06:11 -0400)
Document anomaly 05000242 workaround in source code.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/mach-common/clocks-init.c

index 3539365..ef6870e 100644 (file)
@@ -72,6 +72,7 @@ void init_clocks(void)
 #endif
        bfin_write_PLL_LOCKCNT(0x300);
        do_sync();
+       /* We always write PLL_CTL thus avoiding Anomaly 05000242 */
        bfin_write16(PLL_CTL, PLL_CTL_VAL);
        __asm__ __volatile__("IDLE;");
        bfin_write_PLL_DIV(CONFIG_CCLK_ACT_DIV | CONFIG_SCLK_DIV);