projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76c3999
)
ARM: highbank: compile misc_init_r only if CONFIG_MISC_INIT_R
author
Rob Herring
<rob.herring@calxeda.com>
Thu, 13 Jun 2013 03:24:53 +0000
(22:24 -0500)
committer
Albert ARIBAUD
<albert.u.boot@aribaud.net>
Thu, 25 Jul 2013 06:16:21 +0000
(08:16 +0200)
Compile misc_init_r only if CONFIG_MISC_INIT_R is enabled.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
board/highbank/highbank.c
patch
|
blob
|
history
diff --git
a/board/highbank/highbank.c
b/board/highbank/highbank.c
index b224aae41b4a0550b42712d5a8615aba98fd6fb0..b0c20fe56d68ee4518d0946ee45ba62dcf8e69bb 100644
(file)
--- a/
board/highbank/highbank.c
+++ b/
board/highbank/highbank.c
@@
-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)
{