[PATCH] clk: sifive: only build sifive-prci.o for CONFIG_CLK_SIFIVE_PRCI

Leo Liang ycliang at andestech.com
Mon Jun 26 04:49:16 CEST 2023


On Tue, May 09, 2023 at 02:50:05PM +0100, Ben Dooks wrote:
> If we're building non FU540/FU740 SoC drivers, then the sifive-prci.o
> is not needed. Only build this when CONFIG_CLK_SIFIVE_PRCI is selected.
> 
> Signed-off-by: Ben Dooks <ben.dooks at sifive.com>
> ---
>  drivers/clk/sifive/Makefile | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)

Reviewed-by: Leo Yu-Chi Liang <ycliang at andestech.com>


More information about the U-Boot mailing list