浏览代码

Blackfin: respect CONFIG_CLKIN_HALF

As pointed out by Ivan Koryakovskiy, the initialization code was not
actually respecting the CONFIG_CLKIN_HALF option when configuring the
PLL_CTL register.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger 17 年之前
父节点
当前提交
4f6a313240
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cpu/blackfin/initcode.c

+ 1 - 1
cpu/blackfin/initcode.c

@@ -158,7 +158,7 @@ static inline void serial_putc(char c)
 #endif
 #endif
 
 
 #ifndef CONFIG_PLL_CTL_VAL
 #ifndef CONFIG_PLL_CTL_VAL
-# define CONFIG_PLL_CTL_VAL (SPORT_HYST | (CONFIG_VCO_MULT << 9))
+# define CONFIG_PLL_CTL_VAL (SPORT_HYST | (CONFIG_VCO_MULT << 9) | CONFIG_CLKIN_HALF)
 #endif
 #endif
 
 
 #ifndef CONFIG_EBIU_RSTCTL_VAL
 #ifndef CONFIG_EBIU_RSTCTL_VAL