summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-10-29 05:23:47 +0000
committerTom Rini <trini@ti.com>2012-11-02 15:20:40 -0700
commitc4fa493d3a822757af8fbcdc516e12bb7f72d071 (patch)
tree86780e18f04e499da448d338dc2abede0c63e652 /include
parent758c9e69545b2f233ba98750aa3b4f57211b5c5a (diff)
downloadu-boot-imx-c4fa493d3a822757af8fbcdc516e12bb7f72d071.zip
u-boot-imx-c4fa493d3a822757af8fbcdc516e12bb7f72d071.tar.gz
u-boot-imx-c4fa493d3a822757af8fbcdc516e12bb7f72d071.tar.bz2
Support setenv_ulong() and setenv_addr() for powerpc
This includes were outside an #ifdef CONFIG_PPC, but there is not reason to exclude powerpc from using them. Move the declaration outside the #ifdef. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h
index b23e90b..12b3e03 100644
--- a/include/common.h
+++ b/include/common.h
@@ -345,9 +345,9 @@ int saveenv (void);
int inline setenv (const char *, const char *);
#else
int setenv (const char *, const char *);
+#endif /* CONFIG_PPC */
int setenv_ulong(const char *varname, ulong value);
int setenv_addr(const char *varname, const void *addr);
-#endif /* CONFIG_PPC */
#ifdef CONFIG_ARM
# include <asm/mach-types.h>
# include <asm/setup.h>