86xx: Remove redundant code in initdram
The same code exists both inside an #ifdef and outside of it. Remove the extra code for all the 86xx boards. Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
parent
715d8f7608
commit
107b579c75
|
@ -127,11 +127,6 @@ initdram(int board_type)
|
||||||
dram_size = fixed_sdram();
|
dram_size = fixed_sdram();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_SYS_RAMBOOT)
|
|
||||||
puts(" DDR: ");
|
|
||||||
return dram_size;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
puts(" DDR: ");
|
puts(" DDR: ");
|
||||||
return dram_size;
|
return dram_size;
|
||||||
}
|
}
|
||||||
|
|
|
@ -74,11 +74,6 @@ initdram(int board_type)
|
||||||
dram_size = fixed_sdram();
|
dram_size = fixed_sdram();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_SYS_RAMBOOT)
|
|
||||||
puts(" DDR: ");
|
|
||||||
return dram_size;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
puts(" DDR: ");
|
puts(" DDR: ");
|
||||||
return dram_size;
|
return dram_size;
|
||||||
}
|
}
|
||||||
|
|
|
@ -62,11 +62,6 @@ phys_size_t initdram (int board_type)
|
||||||
dram_size = fixed_sdram ();
|
dram_size = fixed_sdram ();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_SYS_RAMBOOT)
|
|
||||||
puts (" DDR: ");
|
|
||||||
return dram_size;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
puts (" DDR: ");
|
puts (" DDR: ");
|
||||||
return dram_size;
|
return dram_size;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue