From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] treewide: move CONFIG_PHYS_64BIT to Kconfig
Date: Mon, 25 Jul 2016 09:43:37 -0400 [thread overview]
Message-ID: <20160725134337.GL14698@bill-the-cat> (raw)
In-Reply-To: <1469444163-9857-1-git-send-email-yamada.masahiro@socionext.com>
On Mon, Jul 25, 2016 at 07:56:03PM +0900, Masahiro Yamada wrote:
> We need to ensure that CONFIG_PHYS_64BIT is configured via Kconfig so
> that it is always available to the build system. Otherwise we can run
> into cases where we have inconsistent sizes of certain attributes.
>
> Ravi Babu reported offset mismatch of struct dwc3 across files since
> commit 95ebc253e6d4 ("types.h: move and redefine resource_size_t").
> Since the commit, resource_addr_t points to phys_addr_t, whose size
> is dependent on CONFIG_PHYS_64BIT for ARM architecture.
>
> I tried my best to use "select" where possible (for example, ARMv8
> architecture) because I think this kind of option is generally user-
> unconfigurable. However, I see some of PowerPC boards have 36BIT
> defconfigs as well as 32BIT ones. I moved CONFIG_PHYS_64BIT to the
> defconfigs for such boards.
>
> CONFIG_36BIT is no longer referenced, so all of the defines were
> removed from CONFIG_SYS_EXTRA_OPTIONS.
>
> Fixes: 95ebc253e6d4 ("types.h: move and redefine resource_size_t")
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> Reported-by: Ravi Babu <ravibabu@ti.com>
> Acked-by: Stefan Roese <sr@denx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
--
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/20160725/0b242b8b/attachment.sig>
next prev parent reply other threads:[~2016-07-25 13:43 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-25 10:56 [U-Boot] [PATCH v2] treewide: move CONFIG_PHYS_64BIT to Kconfig Masahiro Yamada
2016-07-25 13:43 ` Tom Rini [this message]
2016-07-25 17:19 ` york sun
2016-07-26 4:07 ` Masahiro Yamada
2016-07-26 4:26 ` york sun
2016-07-28 8:18 ` B, Ravi
2016-07-28 11:47 ` Masahiro Yamada
2016-07-28 12:39 ` B, Ravi
2016-07-28 8:23 ` B, Ravi
2016-07-28 11:24 ` B, Ravi
2016-08-06 0:59 ` [U-Boot] [U-Boot, " 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=20160725134337.GL14698@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