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

Rob Herring robherring2 at gmail.com
Wed May 15 21:56:15 CEST 2013


From: Rob Herring <rob.herring at calxeda.com>

Signed-off-by: Rob Herring <rob.herring at calxeda.com>
---
 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



More information about the U-Boot mailing list