From: Rob Herring Date: Thu, 13 Jun 2013 03:24:53 +0000 (-0500) Subject: ARM: highbank: compile misc_init_r only if CONFIG_MISC_INIT_R X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=953950234dfb555abdaaa7b8ce92779bbc9e269a;p=u-boot.git 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: Rob Herring --- diff --git a/board/highbank/highbank.c b/board/highbank/highbank.c index b224aae41b..b0c20fe56d 100644 --- 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) {