common: Drop init.h from common header
[pandora-u-boot.git] / board / freescale / mx6memcal / mx6memcal.c
1 // SPDX-License-Identifier: GPL-2.0+
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>
8  */
9
10 #include <common.h>
11 #include <init.h>
12 #include <asm/arch/sys_proto.h>
13
14 DECLARE_GLOBAL_DATA_PTR;
15
16 int board_init(void)
17 {
18         return 0;
19 }
20
21 int checkboard(void)
22 {
23         puts("Board: mx6memcal\n");
24         return 0;
25 }
26
27 int dram_init(void)
28 {
29         gd->ram_size = imx_ddr_size();
30         return 0;
31 }
32