blob: 0dfd7dec9efb9b00301d11a1f03799c418152b80 [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>
Simon Glass3ba929a2020-10-30 21:38:53 -060013#include <asm/global_data.h>
Eric Nelson4c644792017-12-11 13:52:11 -020014
15DECLARE_GLOBAL_DATA_PTR;
16
17int board_init(void)
18{
19 return 0;
20}
21
22int checkboard(void)
23{
24 puts("Board: mx6memcal\n");
25 return 0;
26}
27
28int dram_init(void)
29{
30 gd->ram_size = imx_ddr_size();
31 return 0;
32}