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