Skip to content
Snippets Groups Projects
Commit c4fa493d authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent 758c9e69
No related branches found
No related tags found
No related merge requests found
...@@ -345,9 +345,9 @@ int saveenv (void); ...@@ -345,9 +345,9 @@ int saveenv (void);
int inline setenv (const char *, const char *); int inline setenv (const char *, const char *);
#else #else
int setenv (const char *, const char *); int setenv (const char *, const char *);
#endif /* CONFIG_PPC */
int setenv_ulong(const char *varname, ulong value); int setenv_ulong(const char *varname, ulong value);
int setenv_addr(const char *varname, const void *addr); int setenv_addr(const char *varname, const void *addr);
#endif /* CONFIG_PPC */
#ifdef CONFIG_ARM #ifdef CONFIG_ARM
# include <asm/mach-types.h> # include <asm/mach-types.h>
# include <asm/setup.h> # include <asm/setup.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment