提交 3da7e5a5 编写于 作者: P Paul Burton 提交者: Daniel Schwierzeck

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: NDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Signed-off-by: NPaul Burton <paul.burton@imgtec.com>
上级 a0af08b9
......@@ -173,7 +173,7 @@ static int announce_dram_init(void)
return 0;
}
#ifdef CONFIG_PPC
#if defined(CONFIG_MIPS) || defined(CONFIG_PPC)
static int init_func_ram(void)
{
#ifdef CONFIG_BOARD_TYPES
......@@ -889,7 +889,7 @@ static init_fnc_t init_sequence_f[] = {
#ifdef CONFIG_ARM
dram_init, /* configure available RAM banks */
#endif
#ifdef CONFIG_PPC
#if defined(CONFIG_MIPS) || defined(CONFIG_PPC)
init_func_ram,
#endif
#ifdef CONFIG_POST
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册