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:
parent
38dba0c2ff
commit
70961ba414
@ -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;
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
#include <common.h>
|
||||
|
||||
#ifdef CONFIG_MPC85xx
|
||||
void sdram_init(void);
|
||||
void lbc_sdram_init(void);
|
||||
#endif
|
||||
|
||||
/* BR - Base Registers
|
||||
|
@ -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;
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user