/* WARNING: this code looks "cleaner" than the PowerPC version, but has the disadvantage that you either get nothing, or everything. On PowerPC, you might see "DRAM: " before the system hangs - which gives a simple yet clear indication which part of the initialization if failing.  */
static int display_dram_config(void)
/* WARNING: this code looks "cleaner" than the PowerPC version, but has the disadvantage that you either get nothing, or everything. On PowerPC, you might see "DRAM: " before the system hangs - which gives a simple yet clear indication which part of the initialization if failing.  */
static int display_dram_config(void)
{
	int i;
	puts ("DRAM Configuration:\n");
	for (i=0; i<CONFIG_NR_DRAM_BANKS; i++) {
		printf ("Bank #%d: %08lx ", i, gd->bd->bi_dram[i].start);
		print_size (gd->bd->bi_dram[i].size, "\n");
	}
	return (0);
}