From patchwork Mon Oct 29 15:23:47 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [U-Boot, v3, 04/22] Support setenv_ulong() and setenv_addr() for powerpc Date: Mon, 29 Oct 2012 05:23:47 -0000 From: Simon Glass X-Patchwork-Id: 195046 Message-Id: <1351524245-19584-5-git-send-email-sjg@chromium.org> To: U-Boot Mailing List Cc: Tom Rini 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 --- Changes in v3: - Add new patch to enable setenv_ulong/addr() for powerpc include/common.h | 2 +- 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 # include