blob: 17095c34e92616e5c790afe6bc038085e6ab8df0 [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
Simon Glass97589732020-05-10 11:40:02 -060010#include <init.h>
Eric Nelson4c644792017-12-11 13:52:11 -020011#include <asm/arch/sys_proto.h>
Simon Glass3ba929a2020-10-30 21:38:53 -060012#include <asm/global_data.h>
Eric Nelson4c644792017-12-11 13:52:11 -020013
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}