mx6memcal.c 541 B

1234567891011121314151617181920212223242526272829303132
  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 <init.h>
  11. #include <asm/arch/sys_proto.h>
  12. #include <asm/global_data.h>
  13. DECLARE_GLOBAL_DATA_PTR;
  14. int board_init(void)
  15. {
  16. return 0;
  17. }
  18. int checkboard(void)
  19. {
  20. puts("Board: mx6memcal\n");
  21. return 0;
  22. }
  23. int dram_init(void)
  24. {
  25. gd->ram_size = imx_ddr_size();
  26. return 0;
  27. }