X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=qemu%2Froms%2Fu-boot%2Fboard%2Fbf527-ad7160-eval%2Fbf527-ad7160-eval.c;fp=qemu%2Froms%2Fu-boot%2Fboard%2Fbf527-ad7160-eval%2Fbf527-ad7160-eval.c;h=ea405b639d61cbf83b5d01059a2b71a162994b5f;hb=e44e3482bdb4d0ebde2d8b41830ac2cdb07948fb;hp=0000000000000000000000000000000000000000;hpb=9ca8dbcc65cfc63d6f5ef3312a33184e1d726e00;p=kvmfornfv.git diff --git a/qemu/roms/u-boot/board/bf527-ad7160-eval/bf527-ad7160-eval.c b/qemu/roms/u-boot/board/bf527-ad7160-eval/bf527-ad7160-eval.c new file mode 100644 index 000000000..ea405b639 --- /dev/null +++ b/qemu/roms/u-boot/board/bf527-ad7160-eval/bf527-ad7160-eval.c @@ -0,0 +1,25 @@ +/* + * U-boot - main board file + * + * Copyright (c) 2010 Analog Devices Inc. + * + * Licensed under the GPL-2 or later. + */ + +#include +#include +#include + +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 */ + bfin_write_VR_CTL(bfin_read_VR_CTL() | CLKBUFOE); + return 0; +}