2 * (C) Copyright 2000-2003
3 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 * Copyright (C) 2012 Freescale Semiconductor, Inc. All Rights Reserved.
7 * SPDX-License-Identifier: GPL-2.0+
11 #include <asm/immap.h>
14 DECLARE_GLOBAL_DATA_PTR;
16 int checkboard (void) {
18 puts ("Freescale MCF5272C3 EVB\n");
24 sdramctrl_t * sdp = (sdramctrl_t *)(MMAP_SDRAM);
26 out_be16(&sdp->sdram_sdtr, 0xf539);
27 out_be16(&sdp->sdram_sdcr, 0x4211);
29 /* Dummy write to start SDRAM */
30 *((volatile unsigned long *)0) = 0;
32 gd->ram_size = CONFIG_SYS_SDRAM_SIZE * 1024 * 1024;
38 /* TODO: XXX XXX XXX */
39 printf ("DRAM test not implemented!\n");