[PATCH] clk: sunxi: Use the right symbol in the Makefile

Andre Przywara andre.przywara at arm.com
Wed Nov 1 13:35:25 CET 2023


On Mon, 30 Oct 2023 23:49:22 -0500
Samuel Holland <samuel at 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 <samuel at sholland.org>

Reviewed-by: Andre Przywara <andre.przywara at 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



More information about the U-Boot mailing list