mpr2.c (1aeed8d71acb3290cf2446f316d6ba437e7881c4) mpr2.c (6d0f6bcf337c5261c08fabe12982178c2c489d76)
1/*
2 * Copyright (C) 2008
3 * Mark Jonas <mark.jonas@de.bosch.com>
4 *
5 * board/mpr2/mpr2.c
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as

--- 140 unchanged lines hidden (view full) ---

149
150 return 0;
151}
152
153int dram_init(void)
154{
155 DECLARE_GLOBAL_DATA_PTR;
156
1/*
2 * Copyright (C) 2008
3 * Mark Jonas <mark.jonas@de.bosch.com>
4 *
5 * board/mpr2/mpr2.c
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as

--- 140 unchanged lines hidden (view full) ---

149
150 return 0;
151}
152
153int dram_init(void)
154{
155 DECLARE_GLOBAL_DATA_PTR;
156
157 gd->bd->bi_memstart = CFG_SDRAM_BASE;
158 gd->bd->bi_memsize = CFG_SDRAM_SIZE;
159 printf("SDRAM: %dMB\n", CFG_SDRAM_SIZE / (1024 * 1024));
157 gd->bd->bi_memstart = CONFIG_SYS_SDRAM_BASE;
158 gd->bd->bi_memsize = CONFIG_SYS_SDRAM_SIZE;
159 printf("SDRAM: %dMB\n", CONFIG_SYS_SDRAM_SIZE / (1024 * 1024));
160 return 0;
161}
160 return 0;
161}