On Mon, 30 Oct 2023 23:49:22 -0500
Samuel Holland <sam...@sholland.org> wrote:

> CONFIG_ARCH_SUNXI will not be enabled for RISC-V SoCs using this driver.
> Use the symbol for the driver itself instead.

That works, no changes at all in all sunxi binaries after this patch.

> Signed-off-by: Samuel Holland <sam...@sholland.org>

Reviewed-by: Andre Przywara <andre.przyw...@arm.com>

Thanks,
Andre

> ---
> 
>  drivers/clk/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile
> index 26bf429acbc..af27ceb27da 100644
> --- a/drivers/clk/Makefile
> +++ b/drivers/clk/Makefile
> @@ -27,7 +27,6 @@ obj-$(CONFIG_ARCH_ROCKCHIP) += rockchip/
>  obj-$(CONFIG_ARCH_SOCFPGA) += altera/
>  obj-$(CONFIG_ARCH_STM32) += stm32/
>  obj-$(CONFIG_ARCH_STM32MP) += stm32/
> -obj-$(CONFIG_ARCH_SUNXI) += sunxi/
>  obj-$(CONFIG_CLK_AT91) += at91/
>  obj-$(CONFIG_CLK_BCM6345) += clk_bcm6345.o
>  obj-$(CONFIG_CLK_BOSTON) += clk_boston.o
> @@ -43,6 +42,7 @@ obj-$(CONFIG_CLK_OWL) += owl/
>  obj-$(CONFIG_CLK_RENESAS) += renesas/
>  obj-$(CONFIG_$(SPL_TPL_)CLK_SCMI) += clk_scmi.o
>  obj-$(CONFIG_CLK_SIFIVE) += sifive/
> +obj-$(CONFIG_CLK_SUNXI) += sunxi/
>  obj-$(CONFIG_CLK_UNIPHIER) += uniphier/
>  obj-$(CONFIG_CLK_VERSACLOCK) += clk_versaclock.o
>  obj-$(CONFIG_CLK_VERSAL) += clk_versal.o

Reply via email to