]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Support setenv_ulong() and setenv_addr() for powerpc
authorSimon Glass <sjg@chromium.org>
Mon, 29 Oct 2012 05:23:47 +0000 (05:23 +0000)
committerTom Rini <trini@ti.com>
Fri, 2 Nov 2012 22:20:40 +0000 (15:20 -0700)
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>
include/common.h

index b23e90b025c4fe24939d607af6d14d99eb0ca7ed..12b3e039a099a3258fa9548a30bb49c9ef3e7a7a 100644 (file)
@@ -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>