4 * (C) Copyright 2017 Angelo Dureghello <angelo@sysam.it>
6 * SPDX-License-Identifier: GPL-2.0+
12 #include <asm/immap.h>
14 #include <fsl_esdhc.h>
16 DECLARE_GLOBAL_DATA_PTR;
22 * Check serial flash size. if 2mb evb, else 8mb demo
25 puts("Sysam stmark2\n");
34 * Serial Boot: The dram is already initialized in start.S
35 * only require to return DRAM size
37 dramsize = CONFIG_SYS_SDRAM_SIZE * 0x100000;
39 gd->ram_size = dramsize;