]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: sifive: only build sifive-prci.o for CONFIG_CLK_SIFIVE_PRCI
authorBen Dooks <ben.dooks@sifive.com>
Tue, 9 May 2023 13:50:05 +0000 (14:50 +0100)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 6 Jul 2023 09:28:08 +0000 (17:28 +0800)
commitc29cc110d7c2486c0b71edaccd8bc61cb77385a4
tree7cbbe4fdd8ba1654140b4d85363e802e26b4d268
parent661e2215f8483cc7a77badeab6dcbf6a88cc715c
clk: sifive: only build sifive-prci.o for CONFIG_CLK_SIFIVE_PRCI

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@sifive.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
drivers/clk/sifive/Makefile