blob: 1cc744fa9ba024dd79beb350293369e9959d5007 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Eric Nelsonbaefb632017-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 Nelsonbaefb632017-12-11 13:52:11 -02008 */
9
10#include <common.h>
Simon Glass691d7192020-05-10 11:40:02 -060011#include <init.h>
Eric Nelsonbaefb632017-12-11 13:52:11 -020012#include <asm/arch/sys_proto.h>
Simon Glass401d1c42020-10-30 21:38:53 -060013#include <asm/global_data.h>
Eric Nelsonbaefb632017-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}
33