2010-05-31 14:11:53 +00:00
|
|
|
/*
|
2016-02-06 03:30:11 +00:00
|
|
|
* U-Boot - main board file
|
2010-05-31 14:11:53 +00:00
|
|
|
*
|
|
|
|
* Copyright (c) 2010 Analog Devices Inc.
|
|
|
|
*
|
|
|
|
* Licensed under the GPL-2 or later.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <common.h>
|
|
|
|
#include <asm/blackfin.h>
|
|
|
|
#include <asm/mach-common/bits/pll.h>
|
|
|
|
|
|
|
|
int checkboard(void)
|
|
|
|
{
|
|
|
|
printf("Board: ADI BF527 AD7160-EVAL board\n");
|
|
|
|
printf(" Support: http://blackfin.uclinux.org/\n");
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int misc_init_r(void)
|
|
|
|
{
|
|
|
|
/* CLKIN Buffer Output Enable */
|
2010-07-25 21:19:36 +00:00
|
|
|
bfin_write_VR_CTL(bfin_read_VR_CTL() | CLKBUFOE);
|
2010-05-31 14:11:53 +00:00
|
|
|
return 0;
|
|
|
|
}
|