Hi,
Please backport 78a03b9f8e6b ("riscv: Kconfig: Add select ARM_AMBA to
SOC_STARFIVE") to v6.6
Without this, it is not possible to configure the kernel with SPI drivers
for the Visionfive 2 board.
This one depends a1a5f2c88725 ("dmaengine: pl330: rename _start to prevent
build error"), which is already in stable.
It should be backported to v6.1 too, but it does not apply cleanly. So I
will send a patch for that.
Best regards,
Nam
On Dez 11 2023, Nam Cao wrote:
> Without this, it is not possible to configure the kernel with SPI drivers
> for the Visionfive 2 board.
Is it? There is nothing that stops you from just enabling it.
--
Andreas Schwab, SUSE Labs, [email protected]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
On Mon, 11 Dec 2023 15:10:02 +0100 Andreas Schwab <[email protected]> wrote:
> On Dez 11 2023, Nam Cao wrote:
>
> > Without this, it is not possible to configure the kernel with SPI drivers
> > for the Visionfive 2 board.
>
> Is it? There is nothing that stops you from just enabling it.
config SPI_PL022
tristate "ARM AMBA PL022 SSP controller"
depends on ARM_AMBA
The "depends on" stops me.
Best regards,
Nam
From: Jia Jie Ho <[email protected]>
[ Upstream commit 78a03b9f8e6b317f7c65738a3fc60e1e85106a64 ]
Selects ARM_AMBA platform support for StarFive SoCs required by spi and
crypto dma engine.
Signed-off-by: Jia Jie Ho <[email protected]>
Acked-by: Palmer Dabbelt <[email protected]>
Signed-off-by: Conor Dooley <[email protected]>
[ resolve conflict due to removal of "select SIFIVE_PLIC" ]
Signed-off-by: Nam Cao <[email protected]>
---
arch/riscv/Kconfig.socs | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs
index 69774bb362d6..29d78eefc889 100644
--- a/arch/riscv/Kconfig.socs
+++ b/arch/riscv/Kconfig.socs
@@ -23,6 +23,7 @@ config SOC_STARFIVE
select PINCTRL
select RESET_CONTROLLER
select SIFIVE_PLIC
+ select ARM_AMBA
help
This enables support for StarFive SoC platform hardware.
--
2.39.2