commit | 13b17c35c43034658a058ece2972f9ebf00a7765 | [log] [tgz] |
---|---|---|
author | Rob Herring <rob.herring@calxeda.com> | Wed Jun 12 22:24:53 2013 -0500 |
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | Thu Jul 25 08:16:21 2013 +0200 |
tree | abbfef32bb221deaf467ff060a8a6a21292a836e | |
parent | fd7ec6ee4d8c8081ddf694bb126b8ed3db12a7bb [diff] [blame] |
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>
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 @@ return rc; } +#ifdef CONFIG_MISC_INIT_R int misc_init_r(void) { char envbuffer[16]; @@ -83,6 +84,7 @@ return 0; } +#endif int dram_init(void) {