bf538f-ezkit.c 523 B

123456789101112131415161718192021222324252627
  1. /*
  2. * U-boot - main board file
  3. *
  4. * Copyright (c) 2008 Analog Devices Inc.
  5. *
  6. * Licensed under the GPL-2 or later.
  7. */
  8. #include <common.h>
  9. #include <config.h>
  10. #include <asm/blackfin.h>
  11. DECLARE_GLOBAL_DATA_PTR;
  12. int checkboard(void)
  13. {
  14. printf("Board: ADI BF538F EZ-Kit Lite board\n");
  15. printf(" Support: http://blackfin.uclinux.org/\n");
  16. return 0;
  17. }
  18. phys_size_t initdram(int board_type)
  19. {
  20. gd->bd->bi_memstart = CONFIG_SYS_SDRAM_BASE;
  21. gd->bd->bi_memsize = CONFIG_SYS_MAX_RAM_SIZE;
  22. return gd->bd->bi_memsize;
  23. }