mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-27 09:31:32 +00:00
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>
This commit is contained in:
parent
758c9e6954
commit
c4fa493d3a
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue