diff options
author | Rob Herring <rob.herring@calxeda.com> | 2013-06-12 22:24:53 -0500 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-07-25 08:16:21 +0200 |
commit | 953950234dfb555abdaaa7b8ce92779bbc9e269a (patch) | |
tree | abbfef32bb221deaf467ff060a8a6a21292a836e | |
parent | 76c3999db439491a406cd6e7778300c992cda785 (diff) | |
download | u-boot-imx-953950234dfb555abdaaa7b8ce92779bbc9e269a.zip u-boot-imx-953950234dfb555abdaaa7b8ce92779bbc9e269a.tar.gz u-boot-imx-953950234dfb555abdaaa7b8ce92779bbc9e269a.tar.bz2 |
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 <rob.herring@calxeda.com>
-rw-r--r-- | board/highbank/highbank.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/highbank/highbank.c b/board/highbank/highbank.c index b224aae..b0c20fe 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) { |