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 <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Lad Prabhakar <[email protected]> Fixes: 484861e ("soc: renesas: Kconfig: Select the required configs for RZ/Five SoC") Reviewed-by: Geert Uytterhoeven <[email protected]> Acked-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
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)