summaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu/ppc4xx/Kconfig
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-07-25 19:56:03 +0900
committerTom Rini <trini@konsulko.com>2016-08-05 07:27:25 -0400
commitbb6b142fc16713bb83e471912e614ac01eec4584 (patch)
tree3602526f0f8b480240dbc785188627c8620bc685 /arch/powerpc/cpu/ppc4xx/Kconfig
parent9ab0296a828c0c6c7c252828954951ddf346ceb5 (diff)
downloadu-boot-bb6b142fc16713bb83e471912e614ac01eec4584.tar.gz
u-boot-bb6b142fc16713bb83e471912e614ac01eec4584.tar.bz2
u-boot-bb6b142fc16713bb83e471912e614ac01eec4584.zip
treewide: move CONFIG_PHYS_64BIT to Kconfig
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> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'arch/powerpc/cpu/ppc4xx/Kconfig')
-rw-r--r--arch/powerpc/cpu/ppc4xx/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/ppc4xx/Kconfig b/arch/powerpc/cpu/ppc4xx/Kconfig
index 36af1b9419..92a330dc63 100644
--- a/arch/powerpc/cpu/ppc4xx/Kconfig
+++ b/arch/powerpc/cpu/ppc4xx/Kconfig
@@ -30,6 +30,7 @@ config TARGET_CANYONLANDS
config TARGET_KATMAI
bool "Support katmai"
+ select PHYS_64BIT
config TARGET_KILAUEA
bool "Support kilauea"