xilfpga.c 439 B

1234567891011121314151617181920
  1. /*
  2. * Imagination Technologies MIPSfpga platform code
  3. *
  4. * Copyright (C) 2016, Imagination Technologies Ltd.
  5. *
  6. * Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
  7. *
  8. * SPDX-License-Identifier: GPL-2.0+
  9. *
  10. */
  11. #include <common.h>
  12. /* initialize the DDR Controller and PHY */
  13. phys_size_t initdram(int board_type)
  14. {
  15. /* MIG IP block is smart and doesn't need SW
  16. * to do any init */
  17. return CONFIG_SYS_SDRAM_SIZE; /* in bytes */
  18. }