mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-04-01 03:51:31 +00:00
blackfin: fixing warning by including proper headers
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
This commit is contained in:
parent
6e6b221c43
commit
31d5d4e056
3 changed files with 6 additions and 1 deletions
|
@ -19,6 +19,7 @@
|
||||||
#include <net.h>
|
#include <net.h>
|
||||||
#include <status_led.h>
|
#include <status_led.h>
|
||||||
#include <version.h>
|
#include <version.h>
|
||||||
|
#include <watchdog.h>
|
||||||
|
|
||||||
#include <asm/cplb.h>
|
#include <asm/cplb.h>
|
||||||
#include <asm/mach-common/bits/mpu.h>
|
#include <asm/mach-common/bits/mpu.h>
|
||||||
|
|
|
@ -36,7 +36,10 @@ u_long get_vco(void)
|
||||||
u_long get_cclk(void)
|
u_long get_cclk(void)
|
||||||
{
|
{
|
||||||
static u_long cached_cclk_pll_div, cached_cclk;
|
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())
|
if (pll_is_bypassed())
|
||||||
return CONFIG_CLKIN_HZ;
|
return CONFIG_CLKIN_HZ;
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
#include <netdev.h>
|
#include <netdev.h>
|
||||||
#include <asm/blackfin.h>
|
#include <asm/blackfin.h>
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
|
#include <asm/sdh.h>
|
||||||
#include <asm/portmux.h>
|
#include <asm/portmux.h>
|
||||||
#include "soft_switch.h"
|
#include "soft_switch.h"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue