blob: ea7a56369d6e2544e721c07c164953daaa306a91 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Eric Nelson4c644792017-12-11 13:52:11 -02002/*
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>
Eric Nelson4c644792017-12-11 13:52:11 -02008 */
9
10#include <common.h>
Simon Glass97589732020-05-10 11:40:02 -060011#include <init.h>
Eric Nelson4c644792017-12-11 13:52:11 -020012#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