mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-14 06:26:13 -04:00
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>
This commit is contained in:
parent
f2cdf461b6
commit
2e81ad05d7
@ -39,7 +39,7 @@
|
|||||||
* so this should be extended for other future boards
|
* so this should be extended for other future boards
|
||||||
* using this routine!
|
* 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);
|
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 = setup_ddr_tlbs(dram_size / 0x100000);
|
||||||
dram_size *= 0x100000;
|
dram_size *= 0x100000;
|
||||||
#else
|
#else
|
||||||
dram_size = sdram_setup(CONFIG_DDR_DEFAULT_CL);
|
dram_size = fixed_sdram();
|
||||||
#endif
|
#endif
|
||||||
return dram_size;
|
return dram_size;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user