1 // SPDX-License-Identifier: GPL-2.0+
3 * (C) Copyright 2000-2003
4 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
6 * Copyright (C) 2012 Freescale Semiconductor, Inc. All Rights Reserved.
10 #include <asm/immap.h>
13 DECLARE_GLOBAL_DATA_PTR;
15 int checkboard (void) {
17 puts ("Freescale MCF5272C3 EVB\n");
23 sdramctrl_t * sdp = (sdramctrl_t *)(MMAP_SDRAM);
25 out_be16(&sdp->sdram_sdtr, 0xf539);
26 out_be16(&sdp->sdram_sdcr, 0x4211);
28 /* Dummy write to start SDRAM */
29 *((volatile unsigned long *)0) = 0;
31 gd->ram_size = CONFIG_SYS_SDRAM_SIZE * 1024 * 1024;
37 /* TODO: XXX XXX XXX */
38 printf ("DRAM test not implemented!\n");