From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [U-Boot, v2, 1/3] types.h: move and redefine resource_size_t
Date: Sat, 16 Jul 2016 09:48:01 -0400 [thread overview]
Message-ID: <20160716134801.GP7260@bill-the-cat> (raw)
In-Reply-To: <1467078522-24431-2-git-send-email-yamada.masahiro@socionext.com>
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 <linux/types.h>
> in the first place, but this is already messy in U-Boot...)
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>
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: <http://lists.denx.de/pipermail/u-boot/attachments/20160716/82c07046/attachment.sig>
next prev parent reply other threads:[~2016-07-16 13:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-28 1:48 [U-Boot] [PATCH v2 0/3] Add generic ioremap / iounmap defines Masahiro Yamada
2016-06-28 1:48 ` [U-Boot] [PATCH v2 1/3] types.h: move and redefine resource_size_t Masahiro Yamada
2016-06-29 3:28 ` Simon Glass
2016-07-16 13:48 ` Tom Rini [this message]
2016-06-28 1:48 ` [U-Boot] [PATCH v2 2/3] arm, nds32, sh: remove useless ioremap()/iounmap() defines Masahiro Yamada
2016-07-16 13:48 ` [U-Boot] [U-Boot, v2, " Tom Rini
2016-06-28 1:48 ` [U-Boot] [PATCH v2 3/3] linux/io.h: add generic " Masahiro Yamada
2016-06-28 12:07 ` Daniel Schwierzeck
2016-07-16 13:48 ` [U-Boot] [U-Boot, v2, " Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160716134801.GP7260@bill-the-cat \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox