[PATCH v2] soc: renesas: make ARCH_R9A07G043 depend on required options
Conor Dooley
conor at kernel.org
Thu Oct 12 05:55:42 PDT 2023
On Thu, Oct 12, 2023 at 02:15:21PM +0200, Geert Uytterhoeven wrote:
> > --- a/drivers/soc/renesas/Kconfig
> > +++ b/drivers/soc/renesas/Kconfig
> > @@ -340,10 +340,12 @@ if RISCV
> > config ARCH_R9A07G043
> > bool "RISC-V Platform support for RZ/Five"
> > depends on NONPORTABLE
> > + depends on RISCV_ALTERNATIVE
> > + depends on RISCV_SBI
> > select ARCH_RZG2L
> > - select AX45MP_L2_CACHE if RISCV_DMA_NONCOHERENT
> > + select AX45MP_L2_CACHE
> > select DMA_GLOBAL_POOL
> > - select ERRATA_ANDES if RISCV_SBI
> > + select ERRATA_ANDES
> > select ERRATA_ANDES_CMO if ERRATA_ANDES
>
> As ERRATA_ANDES is now selected unconditionally, the test
> for it can be removed. I can do that while applying.
Yeah, I wasn't really sure whether to delete it or not. I shoulda
mentioned it under the snip line I suppose. I had it in my head that
keeping the if there made things less likely to fail if changes were
made to the Kconfig stuff in arch/riscv, but this is pretty coupled
and would likely blow up anyway.
Go for it.
Cheers,
Conor.
>
> > help
> > This enables support for the Renesas RZ/Five SoC.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20231012/612d6cef/attachment.sig>
More information about the linux-riscv
mailing list