From: Mike Frysinger Date: Sun, 1 Jun 2008 05:26:29 +0000 (-0400) Subject: Blackfin: respect CONFIG_CLKIN_HALF X-Git-Tag: v2009.03-rc1~147^2~13 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4f6a313240c531042f16909a3a170ab047b95779;p=u-boot 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 --- diff --git a/cpu/blackfin/initcode.c b/cpu/blackfin/initcode.c index ffc8420f1a..e733dd20fd 100644 --- a/cpu/blackfin/initcode.c +++ b/cpu/blackfin/initcode.c @@ -158,7 +158,7 @@ static inline void serial_putc(char c) #endif #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 #ifndef CONFIG_EBIU_RSTCTL_VAL