From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Schwierzeck Date: Wed, 17 May 2017 21:27:53 +0200 Subject: [U-Boot] [PATCH 18/38] mips: Make u-boot-mips.h a private header In-Reply-To: <20170517142311.29484-19-sjg@chromium.org> References: <20170517142311.29484-1-sjg@chromium.org> <20170517142311.29484-19-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am 17.05.2017 um 16:22 schrieb Simon Glass: > Rather than including this arch-specific header file in common.h, include > it from within mips's u-boot.h header. > > Signed-off-by: Simon Glass Reviewed-by: Daniel Schwierzeck > --- > > arch/mips/include/asm/u-boot.h | 1 + > include/common.h | 2 +- > 2 files changed, 2 insertions(+), 1 deletion(-) > > diff --git a/arch/mips/include/asm/u-boot.h b/arch/mips/include/asm/u-boot.h > index af03e8d5be..68985af4b9 100644 > --- a/arch/mips/include/asm/u-boot.h > +++ b/arch/mips/include/asm/u-boot.h > @@ -17,6 +17,7 @@ > > /* Use the generic board which requires a unified bd_info */ > #include > +#include > > /* For image.h:image_check_target_arch() */ > #define IH_ARCH_DEFAULT IH_ARCH_MIPS > diff --git a/include/common.h b/include/common.h > index fe396c5705..f36fed3843 100644 > --- a/include/common.h > +++ b/include/common.h > @@ -442,7 +442,7 @@ static inline int setenv_addr(const char *varname, const void *addr) > # include > #endif /* CONFIG_NDS32 */ > #ifdef CONFIG_MIPS > -# include > +# include > #endif /* CONFIG_MIPS */ you could also remove the #ifdef CONFIG_MIPS in this patch and drop patch 21/38 > #ifdef CONFIG_ARC > # include > -- - Daniel -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: