1 // SPDX-License-Identifier: GPL-2.0+
3 * (C) Copyright 2000-2003
4 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
9 #include <asm/global_data.h>
10 #include <asm/immap.h>
12 DECLARE_GLOBAL_DATA_PTR;
17 puts ("senTec COBRA5272 Board\n");
23 volatile sdramctrl_t *sdp = (sdramctrl_t *) (MMAP_SDRAM);
25 sdp->sdram_sdtr = 0xf539;
26 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;
38 /* TODO: XXX XXX XXX */
39 printf ("DRAM test not implemented!\n");