soc: renesas: ARCH_R9A07G043 depends on !RISCV_ISA_ZICBOM
authorChristoph Hellwig <hch@lst.de>
Wed, 18 Oct 2023 05:26:54 +0000 (07:26 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 26 Oct 2023 07:42:38 +0000 (09:42 +0200)
ARCH_R9A07G043 has its own non-standard global pool based DMA coherent
allocator, which conflicts with the remap based RISCV_ISA_ZICBOM version.
Add a proper dependency.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20231018052654.50074-4-hch@lst.de
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/soc/renesas/Kconfig

index 93f42c1..acc812e 100644 (file)
@@ -335,6 +335,7 @@ config ARCH_R9A07G043
        bool "RISC-V Platform support for RZ/Five"
        depends on NONPORTABLE
        depends on RISCV_ALTERNATIVE
+       depends on !RISCV_ISA_ZICBOM
        depends on RISCV_SBI
        select ARCH_RZG2L
        select AX45MP_L2_CACHE