]> git.ipfire.org Git - thirdparty/u-boot.git/blame - board/freescale/mx6memcal/mx6memcal.c
Revert "Merge patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet""
[thirdparty/u-boot.git] / board / freescale / mx6memcal / mx6memcal.c
CommitLineData
83d290c5 1// SPDX-License-Identifier: GPL-2.0+
baefb63a
EN
2/*
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>
baefb63a
EN
8 */
9
d678a59d 10#include <common.h>
691d719d 11#include <init.h>
baefb63a 12#include <asm/arch/sys_proto.h>
401d1c4f 13#include <asm/global_data.h>
baefb63a
EN
14
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}