From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 5 Aug 2016 20:59:01 -0400 Subject: [U-Boot] [U-Boot, v2] treewide: move CONFIG_PHYS_64BIT to Kconfig In-Reply-To: <1469444163-9857-1-git-send-email-yamada.masahiro@socionext.com> References: <1469444163-9857-1-git-send-email-yamada.masahiro@socionext.com> Message-ID: <20160806005901.GD9942@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 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 > Reported-by: Ravi Babu > Acked-by: Stefan Roese > Reviewed-by: Tom Rini > Reviewed-by: York Sun 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: