Skip to contentSkip to conversation

ARM: renesas: Update Gen3 PCIe dma-ranges before boot

PATCH New Marek Vasut 1 participant 1 message Jul 9, 2019

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: renesas: Update Gen3 PCIe dma-ranges before boot

Update "dma-ranges" DT property of all PCIe controllers in the system with the up-to-date DRAM layout. This allows the PCIe controller take full advantage of all the available DRAM.

Cc Nobuhiro Iwamatsu <[email protected]>

---
V2: - Drop support for older kernels
- Mark memory as prefetchable

---
 arch/arm/mach-rmobile/Kconfig      |  1 +
 board/renesas/rcar-common/common.c | 49 ++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)
arch/arm/mach-rmobile/Kconfig +1 -0
index aafeb355ef..52ab891425 100644
@@ -21,6 +21,7 @@ config RCAR_GEN3
 	imply CMD_GPT
 	imply CMD_UUID
 	imply CMD_MMC_SWRITE if MMC
+	imply OF_BOARD_SETUP if PCI
 	imply SUPPORT_EMMC_RPMB if MMC
 	imply SPL
 	imply SPL_BOARD_INIT
board/renesas/rcar-common/common.c +49 -0

59 lines not on this page · raw message

Signature · 1 line
2.20.1