mpc85xx: rename sdram_init() lbc_sdram_init()

sdram_init() is used to initialize sdram on the lbc.  Rename it
accordingly.

Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
Becky Bruce 2010-12-17 17:17:57 -06:00 committed by Kumar Gala
parent 38dba0c2ff
commit 70961ba414
10 changed files with 11 additions and 20 deletions

View File

@ -331,7 +331,7 @@ phys_size_t initdram(int board_type)
#endif
/* Some boards also have sdram on the lbc */
sdram_init();
lbc_sdram_init();
puts("DDR: ");
return dram_size;

View File

@ -11,11 +11,11 @@
#ifdef CONFIG_MPC85xx
/* Boards should provide their own version of this if they use lbc sdram */
void __sdram_init(void)
void __lbc_sdram_init(void)
{
/* Do nothing */
}
void sdram_init(void) __attribute__((weak, alias("__sdram_init")));
void lbc_sdram_init(void) __attribute__((weak, alias("__lbc_sdram_init")));
#endif

View File

@ -17,7 +17,7 @@
#include <common.h>
#ifdef CONFIG_MPC85xx
void sdram_init(void);
void lbc_sdram_init(void);
#endif
/* BR - Base Registers

View File

@ -122,9 +122,7 @@ local_bus_init(void)
/*
* Initialize SDRAM memory on the Local Bus.
*/
void
sdram_init(void)
void lbc_sdram_init(void)
{
volatile fsl_lbc_t *lbc = LBC_BASE_ADDR;
uint *sdram_addr = (uint *)CONFIG_SYS_LBC_SDRAM_BASE;

View File

@ -291,8 +291,7 @@ local_bus_init(void)
/*
* Initialize SDRAM memory on the Local Bus.
*/
void
sdram_init(void)
void lbc_sdram_init(void)
{
#if defined(CONFIG_SYS_OR2_PRELIM) && defined(CONFIG_SYS_BR2_PRELIM)

View File

@ -111,8 +111,7 @@ local_bus_init(void)
/*
* Initialize SDRAM memory on the Local Bus.
*/
void
sdram_init(void)
void lbc_sdram_init(void)
{
#if defined(CONFIG_SYS_OR2_PRELIM) && defined(CONFIG_SYS_BR2_PRELIM)

View File

@ -289,8 +289,7 @@ local_bus_init(void)
/*
* Initialize SDRAM memory on the Local Bus.
*/
void
sdram_init(void)
void lbc_sdram_init(void)
{
#if defined(CONFIG_SYS_OR2_PRELIM) && defined(CONFIG_SYS_BR2_PRELIM)

View File

@ -327,9 +327,7 @@ local_bus_init(void)
/*
* Initialize SDRAM memory on the Local Bus.
*/
void
sdram_init(void)
void lbc_sdram_init(void)
{
volatile fsl_lbc_t *lbc = LBC_BASE_ADDR;
uint *sdram_addr = (uint *)CONFIG_SYS_LBC_SDRAM_BASE;

View File

@ -171,8 +171,7 @@ local_bus_init(void)
/*
* Initialize SDRAM memory on the Local Bus.
*/
void
sdram_init(void)
void lbc_sdram_init(void)
{
#if defined(CONFIG_SYS_OR2_PRELIM) && defined(CONFIG_SYS_BR2_PRELIM)

View File

@ -104,8 +104,7 @@ local_bus_init(void)
/*
* Initialize SDRAM memory on the Local Bus.
*/
void
sdram_init(void)
void lbc_sdram_init(void)
{
#if defined(CONFIG_SYS_LBC_SDRAM_SIZE)