1 // SPDX-License-Identifier: GPL-2.0+
11 #include <asm/global_data.h>
13 #include <asm/immap.h>
15 #include <fsl_esdhc.h>
17 DECLARE_GLOBAL_DATA_PTR;
23 * Check serial flash size. if 2mb evb, else 8mb demo
26 puts("Sysam stmark2\n");
35 * Serial Boot: The dram is already initialized in start.S
36 * only require to return DRAM size
38 dramsize = CFG_SYS_SDRAM_SIZE * 0x100000;
40 gd->ram_size = dramsize;