summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-12-07 08:23:29 -0500
committerTom Rini <trini@konsulko.com>2015-12-07 08:35:23 -0500
commitcbb2df2018ab07cb8887715d30d445584e108366 (patch)
tree7703310f12dc3c77f918606f55ccdb49ddbb607f /common
parentdcf4cb068e19a7f39e4a295102b247376bd27c95 (diff)
downloadu-boot-imx-cbb2df2018ab07cb8887715d30d445584e108366.zip
u-boot-imx-cbb2df2018ab07cb8887715d30d445584e108366.tar.gz
u-boot-imx-cbb2df2018ab07cb8887715d30d445584e108366.tar.bz2
CONFIG_NEEDS_MANUAL_RELOC: Fix warnings when not set
Now that we may compile (but not link) code calling fixup_cmdtable when this is not set, we need to always have the declaration available. We should also make sure that anyone calling the function includes <command.h> as that's where the function declaration is. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common')
-rw-r--r--common/board_r.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/board_r.c b/common/board_r.c
index 5af32dd..75ee43e 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -15,6 +15,7 @@
#if defined(CONFIG_CMD_BEDBUG)
#include <bedbug/type.h>
#endif
+#include <command.h>
#include <console.h>
#ifdef CONFIG_HAS_DATAFLASH
#include <dataflash.h>