]> git.sur5r.net Git - u-boot/commitdiff
blackfin: fixing warning by including proper headers
authorSonic Zhang <sonic.zhang@analog.com>
Mon, 9 Dec 2013 04:56:27 +0000 (12:56 +0800)
committerSonic Zhang <sonic.zhang@analog.com>
Mon, 16 Dec 2013 03:38:33 +0000 (11:38 +0800)
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
arch/blackfin/lib/board.c
arch/blackfin/lib/clocks.c
board/bf609-ezkit/bf609-ezkit.c

index 17d1f468dd3a53b0394d4beebbe52f000f41a811..392d72d23214064224208c795eefb9d07cb91387 100644 (file)
@@ -19,6 +19,7 @@
 #include <net.h>
 #include <status_led.h>
 #include <version.h>
+#include <watchdog.h>
 
 #include <asm/cplb.h>
 #include <asm/mach-common/bits/mpu.h>
index 97795e11ac993498d60848ecda562df08d625872..7ed56a72742759a3b7f8ac8b0f7683da586e2b49 100644 (file)
@@ -36,7 +36,10 @@ u_long get_vco(void)
 u_long get_cclk(void)
 {
        static u_long cached_cclk_pll_div, cached_cclk;
-       u_long div, csel, ssel;
+       u_long div, csel;
+#ifndef CGU_DIV
+       u_long ssel;
+#endif
 
        if (pll_is_bypassed())
                return CONFIG_CLKIN_HZ;
index 0388226db485e893a6dd32b64f5508c518206eb1..cfc64fe51d6626793fd7bb6b9ed529c50769a2de 100644 (file)
@@ -10,6 +10,7 @@
 #include <netdev.h>
 #include <asm/blackfin.h>
 #include <asm/io.h>
+#include <asm/sdh.h>
 #include <asm/portmux.h>
 #include "soft_switch.h"