[v6,6/6] soc: renesas: Kconfig: Select the required configs for RZ/Five SoC

Message ID 20230106185526.260163-7-prabhakar.mahadev-lad.rj@bp.renesas.com
State New
Headers
Series RISC-V non-coherent function pointer based cache management operations + non-coherent DMA support for AX45MP |

Commit Message

Lad, Prabhakar Jan. 6, 2023, 6:55 p.m. UTC
  From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>

Explicitly select the required Cache management and Errata configs
required for the RZ/Five SoC.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
v5->v6
* New patch
---
 drivers/soc/renesas/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)
  

Comments

Conor Dooley Jan. 6, 2023, 11:49 p.m. UTC | #1
FWIW:
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
  

Patch

diff --git a/drivers/soc/renesas/Kconfig b/drivers/soc/renesas/Kconfig
index 660498252ec5..c3475c084685 100644
--- a/drivers/soc/renesas/Kconfig
+++ b/drivers/soc/renesas/Kconfig
@@ -340,6 +340,10 @@  if RISCV
 config ARCH_R9A07G043
 	bool "RISC-V Platform support for RZ/Five"
 	select ARCH_RZG2L
+	select AX45MP_L2_CACHE
+	select DMA_GLOBAL_POOL
+	select ERRATA_ANDES
+	select ERRATA_ANDES_CMO
 	help
 	  This enables support for the Renesas RZ/Five SoC.