bf527-ad7160-eval.c 474 B

12345678910111213141516171819202122232425
  1. /*
  2. * U-Boot - main board file
  3. *
  4. * Copyright (c) 2010 Analog Devices Inc.
  5. *
  6. * Licensed under the GPL-2 or later.
  7. */
  8. #include <common.h>
  9. #include <asm/blackfin.h>
  10. #include <asm/mach-common/bits/pll.h>
  11. int checkboard(void)
  12. {
  13. printf("Board: ADI BF527 AD7160-EVAL board\n");
  14. printf(" Support: http://blackfin.uclinux.org/\n");
  15. return 0;
  16. }
  17. int misc_init_r(void)
  18. {
  19. /* CLKIN Buffer Output Enable */
  20. bfin_write_VR_CTL(bfin_read_VR_CTL() | CLKBUFOE);
  21. return 0;
  22. }