| // SPDX-License-Identifier: GPL-2.0+ |
| * (C) Copyright 2000-2003 |
| * Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| * Copyright (C) 2012 Freescale Semiconductor, Inc. All Rights Reserved. |
| #include <asm/global_data.h> |
| puts ("Freescale MCF5272C3 EVB\n"); |
| sdramctrl_t * sdp = (sdramctrl_t *)(MMAP_SDRAM); |
| out_be16(&sdp->sdram_sdtr, 0xf539); |
| out_be16(&sdp->sdram_sdcr, 0x4211); |
| /* Dummy write to start SDRAM */ |
| *((volatile unsigned long *)0) = 0; |
| gd->ram_size = CFG_SYS_SDRAM_SIZE * 1024 * 1024; |
| printf ("DRAM test not implemented!\n"); |