mx6memcal.c 495 B

12345678910111213141516171819202122232425262728293031
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * mx6memcal board support - provides a minimal, UART-only
  4. * U-Boot that's capable of running a memory test.
  5. *
  6. * Copyright (C) 2016 Nelson Integration, LLC
  7. * Author: Eric Nelson <eric@nelint.com>
  8. */
  9. #include <common.h>
  10. #include <asm/arch/sys_proto.h>
  11. DECLARE_GLOBAL_DATA_PTR;
  12. int board_init(void)
  13. {
  14. return 0;
  15. }
  16. int checkboard(void)
  17. {
  18. puts("Board: mx6memcal\n");
  19. return 0;
  20. }
  21. int dram_init(void)
  22. {
  23. gd->ram_size = imx_ddr_size();
  24. return 0;
  25. }