blob: afea0fbd9d21dfbe659268c2d22c3beee01be0a3 [file] [log] [blame]
Eric Nelsonbaefb632017-12-11 13:52:11 -02001/*
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
14DECLARE_GLOBAL_DATA_PTR;
15
16int board_init(void)
17{
18 return 0;
19}
20
21int checkboard(void)
22{
23 puts("Board: mx6memcal\n");
24 return 0;
25}
26
27int dram_init(void)
28{
29 gd->ram_size = imx_ddr_size();
30 return 0;
31}
32