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 <init.h> 11 #include <asm/arch/sys_proto.h> 12 #include <asm/global_data.h> 13 14 DECLARE_GLOBAL_DATA_PTR; 15 checkboard(void)16int checkboard(void) 17 { 18 puts("Board: mx6memcal\n"); 19 return 0; 20 } 21 dram_init(void)22int dram_init(void) 23 { 24 gd->ram_size = imx_ddr_size(); 25 return 0; 26 } 27