summaryrefslogtreecommitdiff
path: root/board/socrates
diff options
context:
space:
mode:
authorBecky Bruce <beckyb@kernel.crashing.org>2010-12-13 15:06:44 -0600
committerKumar Gala <galak@kernel.crashing.org>2011-01-14 01:32:17 -0600
commit2e81ad05d79328767803a4956b0ebe22e577366e (patch)
tree98b879ba39d661abb054b287becdc98a0c1664b2 /board/socrates
parentf2cdf461b66c86945488ed431d171859356bb192 (diff)
downloadu-boot-imx-2e81ad05d79328767803a4956b0ebe22e577366e.zip
u-boot-imx-2e81ad05d79328767803a4956b0ebe22e577366e.tar.gz
u-boot-imx-2e81ad05d79328767803a4956b0ebe22e577366e.tar.bz2
socrates: rename sdram_setup fixed_sdram()
This will help us go to a fixed initdram() for all 85xx boards going forward. sdram_setup() had an argument that it didn't need, since the value was #defined. Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/socrates')
-rw-r--r--board/socrates/sdram.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/socrates/sdram.c b/board/socrates/sdram.c
index 029ba02..ef897b2 100644
--- a/board/socrates/sdram.c
+++ b/board/socrates/sdram.c
@@ -39,7 +39,7 @@
* so this should be extended for other future boards
* using this routine!
*/
-long int sdram_setup(int casl)
+long int fixed_sdram(void)
{
volatile ccsr_ddr_t *ddr = (void *)(CONFIG_SYS_MPC85xx_DDR_ADDR);
@@ -85,7 +85,7 @@ phys_size_t initdram (int board_type)
dram_size = setup_ddr_tlbs(dram_size / 0x100000);
dram_size *= 0x100000;
#else
- dram_size = sdram_setup(CONFIG_DDR_DEFAULT_CL);
+ dram_size = fixed_sdram();
#endif
return dram_size;
}