提交 95395023 编写于 作者: R Rob Herring 提交者: Albert ARIBAUD

ARM: highbank: compile misc_init_r only if CONFIG_MISC_INIT_R

Compile misc_init_r only if CONFIG_MISC_INIT_R is enabled.
Signed-off-by: NRob Herring <rob.herring@calxeda.com>
上级 76c3999d
......@@ -62,6 +62,7 @@ int board_eth_init(bd_t *bis)
return rc;
}
#ifdef CONFIG_MISC_INIT_R
int misc_init_r(void)
{
char envbuffer[16];
......@@ -83,6 +84,7 @@ int misc_init_r(void)
return 0;
}
#endif
int dram_init(void)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册