• Masahiro Yamada's avatar
    treewide: move CONFIG_PHYS_64BIT to Kconfig · bb6b142f
    Masahiro Yamada authored
    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 95ebc253 ("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: 95ebc253 ("types.h: move and redefine resource_size_t")
    Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
    Reported-by: default avatarRavi Babu <ravibabu@ti.com>
    Acked-by: default avatarStefan Roese <sr@denx.de>
    Reviewed-by: default avatarTom Rini <trini@konsulko.com>
    Reviewed-by: default avatarYork Sun <york.sun@nxp.com>
    bb6b142f
Name
Last commit
Last update
Licenses Loading commit data...
api Loading commit data...
arch Loading commit data...
board Loading commit data...
cmd Loading commit data...
common Loading commit data...
configs Loading commit data...
disk Loading commit data...
doc Loading commit data...
drivers Loading commit data...
dts Loading commit data...
examples Loading commit data...
fs Loading commit data...
include Loading commit data...
lib Loading commit data...
net Loading commit data...
post Loading commit data...
scripts Loading commit data...
test Loading commit data...
tools Loading commit data...
.checkpatch.conf Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...
config.mk Loading commit data...
snapshot.commit Loading commit data...