[U-Boot] [PATCH 09/10] ARM: highbank: fix build with CONFIG_MISC_INIT_R turned off

Rob Herring
2013-05-15T19:56:15Z

board/highbank/highbank.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/board/highbank/highbank.c b/board/highbank/highbank.c
index 4cc4b1c..82ebeea 100644
--- a/board/highbank/highbank.c
+++ b/board/highbank/highbank.c
@@ -60,6 +60,7 @@ int board_eth_init(bd_t *bis)
return rc;
}

+#ifdef CONFIG_MISC_INIT_R
int misc_init_r(void)
{
char envbuffer[16];
@@ -81,6 +82,7 @@ int misc_init_r(void)

return 0;
}
+#endif

int dram_init(void)
{
--
1.8.1.2