board_f: call init_func_ram on MIPS
Assigning gd->ram_size the return value of initdram matches the existing MIPS board behaviour. Suggested-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Signed-off-by: Paul Burton <paul.burton@imgtec.com>
This commit is contained in:
committed by
Daniel Schwierzeck
parent
a0af08b9db
commit
3da7e5a50b
@@ -173,7 +173,7 @@ static int announce_dram_init(void)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_PPC
|
#if defined(CONFIG_MIPS) || defined(CONFIG_PPC)
|
||||||
static int init_func_ram(void)
|
static int init_func_ram(void)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_BOARD_TYPES
|
#ifdef CONFIG_BOARD_TYPES
|
||||||
@@ -889,7 +889,7 @@ static init_fnc_t init_sequence_f[] = {
|
|||||||
#ifdef CONFIG_ARM
|
#ifdef CONFIG_ARM
|
||||||
dram_init, /* configure available RAM banks */
|
dram_init, /* configure available RAM banks */
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_PPC
|
#if defined(CONFIG_MIPS) || defined(CONFIG_PPC)
|
||||||
init_func_ram,
|
init_func_ram,
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_POST
|
#ifdef CONFIG_POST
|
||||||
|
|||||||
Reference in New Issue
Block a user