Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Eric Nelson | baefb63 | 2017-12-11 13:52:11 -0200 | [diff] [blame] | 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> |
Eric Nelson | baefb63 | 2017-12-11 13:52:11 -0200 | [diff] [blame] | 8 | */ |
| 9 | |
| 10 | #include <common.h> |
| 11 | #include <asm/arch/sys_proto.h> |
| 12 | |
| 13 | DECLARE_GLOBAL_DATA_PTR; |
| 14 | |
| 15 | int board_init(void) |
| 16 | { |
| 17 | return 0; |
| 18 | } |
| 19 | |
| 20 | int checkboard(void) |
| 21 | { |
| 22 | puts("Board: mx6memcal\n"); |
| 23 | return 0; |
| 24 | } |
| 25 | |
| 26 | int dram_init(void) |
| 27 | { |
| 28 | gd->ram_size = imx_ddr_size(); |
| 29 | return 0; |
| 30 | } |
| 31 | |