summaryrefslogtreecommitdiffstats
path: root/arch/riscv/Kconfig
diff options
context:
space:
mode:
authorChristoph Hellwig2018-04-03 16:24:20 +0200
committerChristoph Hellwig2018-05-09 06:56:33 +0200
commitd4a451d5fc849f9a0a133255ed197b148fc323d0 (patch)
tree5df9dea42ff522437448e559b6a9397caa91613a /arch/riscv/Kconfig
parentdma-mapping: move the NEED_DMA_MAP_STATE config symbol to lib/Kconfig (diff)
downloadkernel-qcow2-linux-d4a451d5fc849f9a0a133255ed197b148fc323d0.tar.gz
kernel-qcow2-linux-d4a451d5fc849f9a0a133255ed197b148fc323d0.tar.xz
kernel-qcow2-linux-d4a451d5fc849f9a0a133255ed197b148fc323d0.zip
arch: remove the ARCH_PHYS_ADDR_T_64BIT config symbol
Instead select the PHYS_ADDR_T_64BIT for 32-bit architectures that need a 64-bit phys_addr_t type directly. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: James Hogan <jhogan@kernel.org>
Diffstat (limited to 'arch/riscv/Kconfig')
-rw-r--r--arch/riscv/Kconfig6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index a951ee1f1915..1b4b722b4496 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -5,6 +5,8 @@
config RISCV
def_bool y
+ # even on 32-bit, physical (and DMA) addresses are > 32-bits
+ select PHYS_ADDR_T_64BIT
select OF
select OF_EARLY_FLATTREE
select OF_IRQ
@@ -38,10 +40,6 @@ config RISCV
config MMU
def_bool y
-# even on 32-bit, physical (and DMA) addresses are > 32-bits
-config ARCH_PHYS_ADDR_T_64BIT
- def_bool y
-
config ZONE_DMA32
bool
default y