diff options
author | Magnus Damm <damm@opensource.se> | 2014-02-05 00:36:28 -0500 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2014-02-23 18:55:45 -0500 |
commit | 4a51856b42672cfcb7d6fbab22dcf2caba2be5ab (patch) | |
tree | d1056b050ed57856a2abec0dc5082300d1174492 /arch/arm/mach-shmobile/Kconfig | |
parent | 38dbfb59d1175ef458d006556061adeaa8751b72 (diff) |
ARM: shmobile: Use 64-bit dma_addr_t on r8a7790/r8a7791
Some on-chip devices on r8a7790 and r8a7791 can do
bus mastering and access more than 32-bits of address
space. Select ARCH_DMA_ADDR_T_64BIT when LPAE is set
in case of multiplatform and legacy SoC support.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/Kconfig')
-rw-r--r-- | arch/arm/mach-shmobile/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig index 338640631e08..0272cd7b6f27 100644 --- a/arch/arm/mach-shmobile/Kconfig +++ b/arch/arm/mach-shmobile/Kconfig | |||
@@ -13,6 +13,7 @@ config ARCH_SHMOBILE_MULTI | |||
13 | select ARM_GIC | 13 | select ARM_GIC |
14 | select MIGHT_HAVE_CACHE_L2X0 | 14 | select MIGHT_HAVE_CACHE_L2X0 |
15 | select MIGHT_HAVE_PCI | 15 | select MIGHT_HAVE_PCI |
16 | select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE | ||
16 | select NO_IOPORT | 17 | select NO_IOPORT |
17 | select PINCTRL | 18 | select PINCTRL |
18 | select ARCH_REQUIRE_GPIOLIB | 19 | select ARCH_REQUIRE_GPIOLIB |
@@ -123,6 +124,7 @@ config ARCH_R8A7790 | |||
123 | select MIGHT_HAVE_PCI | 124 | select MIGHT_HAVE_PCI |
124 | select SH_CLK_CPG | 125 | select SH_CLK_CPG |
125 | select RENESAS_IRQC | 126 | select RENESAS_IRQC |
127 | select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE | ||
126 | 128 | ||
127 | config ARCH_R8A7791 | 129 | config ARCH_R8A7791 |
128 | bool "R-Car M2 (R8A77910)" | 130 | bool "R-Car M2 (R8A77910)" |
@@ -132,6 +134,7 @@ config ARCH_R8A7791 | |||
132 | select MIGHT_HAVE_PCI | 134 | select MIGHT_HAVE_PCI |
133 | select SH_CLK_CPG | 135 | select SH_CLK_CPG |
134 | select RENESAS_IRQC | 136 | select RENESAS_IRQC |
137 | select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE | ||
135 | 138 | ||
136 | config ARCH_EMEV2 | 139 | config ARCH_EMEV2 |
137 | bool "Emma Mobile EV2" | 140 | bool "Emma Mobile EV2" |