From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 16 Jul 2016 09:48:01 -0400 Subject: [U-Boot] [U-Boot, v2, 1/3] types.h: move and redefine resource_size_t In-Reply-To: <1467078522-24431-2-git-send-email-yamada.masahiro@socionext.com> References: <1467078522-24431-2-git-send-email-yamada.masahiro@socionext.com> Message-ID: <20160716134801.GP7260@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Jun 28, 2016 at 10:48:40AM +0900, Masahiro Yamada wrote: > Currently, this is only defined in arch/arm/include/asm/types.h, > so move it to include/linux/types.h to make it available for all > architectures. > > I defined it with phys_addr_t as Linux does. I needed to surround > the define with #ifdef __KERNEL__ ... #endif to avoid build errors > in tools building. (Host tools should not include > in the first place, but this is already messy in U-Boot...) > > Signed-off-by: Masahiro Yamada > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: