Skip to content

Commit c6a906c

Browse files
prabhakarladpalmer-dabbelt
authored andcommitted
soc: renesas: Kconfig: For ARCH_R9A07G043 select the required configs if dependencies are met
To prevent randconfig build issues when enabling the RZ/Five SoC, consider selecting specific configurations only when their dependencies are satisfied. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202308311610.ec6bm2G8-lkp@intel.com/ Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Fixes: 484861e ("soc: renesas: Kconfig: Select the required configs for RZ/Five SoC") Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20230901110936.313171-1-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
1 parent 2f73b35 commit c6a906c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

drivers/soc/renesas/Kconfig

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -334,10 +334,11 @@ if RISCV
334334
config ARCH_R9A07G043
335335
bool "RISC-V Platform support for RZ/Five"
336336
select ARCH_RZG2L
337-
select AX45MP_L2_CACHE
337+
select AX45MP_L2_CACHE if RISCV_DMA_NONCOHERENT
338338
select DMA_GLOBAL_POOL
339-
select ERRATA_ANDES
340-
select ERRATA_ANDES_CMO
339+
select ERRATA_ANDES if RISCV_SBI
340+
select ERRATA_ANDES_CMO if ERRATA_ANDES
341+
341342
help
342343
This enables support for the Renesas RZ/Five SoC.
343344

0 commit comments

Comments
 (0)