Skip to content
Snippets Groups Projects
Commit 95395023 authored by Rob Herring's avatar Rob Herring Committed by Albert ARIBAUD
Browse files

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: default avatarRob Herring <rob.herring@calxeda.com>
parent 76c3999d
No related branches found
No related tags found
No related merge requests found
...@@ -62,6 +62,7 @@ int board_eth_init(bd_t *bis) ...@@ -62,6 +62,7 @@ int board_eth_init(bd_t *bis)
return rc; return rc;
} }
#ifdef CONFIG_MISC_INIT_R
int misc_init_r(void) int misc_init_r(void)
{ {
char envbuffer[16]; char envbuffer[16];
...@@ -83,6 +84,7 @@ int misc_init_r(void) ...@@ -83,6 +84,7 @@ int misc_init_r(void)
return 0; return 0;
} }
#endif
int dram_init(void) int dram_init(void)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment