@ -403,20 +403,20 @@ static unsigned char spd_read(uchar chip, uint addr)
}
/*-----------------------------------------------------------------------------+
* initdram . Initializes the 440 SP Memory Queue and DDR SDRAM controller .
* dram_ init. Initializes the 440 SP Memory Queue and DDR SDRAM controller .
* Note : This routine runs from flash with a stack set up in the chip ' s
* sram space . It is important that the routine does not require . sbss , . bss or
* . data sections . It also cannot call routines that require these sections .
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/*-----------------------------------------------------------------------------
* Function : initdram
* Function : dram_ init
* Description : Configures SDRAM memory banks for DDR operation .
* Auto Memory Configuration option reads the DDR SDRAM EEPROMs
* via the IIC bus and then configures the DDR SDRAM memory
* banks appropriately . If Auto Memory Configuration is
* not used , it is assumed that no DIMM is plugged
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
int initdram ( void )
int dram_ init( void )
{
unsigned char iic0_dimm_addr [ ] = SPD_EEPROM_ADDRESS ;
unsigned long dimm_populated [ MAXDIMMS ] = { SDRAM_NONE , SDRAM_NONE } ;
@ -2855,13 +2855,13 @@ static void test(void)
# else /* CONFIG_SPD_EEPROM */
/*-----------------------------------------------------------------------------
* Function : initdram
* Function : dram_ init
* Description : Configures the PPC4xx IBM DDR1 / DDR2 SDRAM memory controller .
* The configuration is performed using static , compile -
* time parameters .
* Configures the PPC405EX ( r ) and PPC460EX / GT
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
int initdram ( void )
int dram_ init( void )
{
unsigned long val ;