mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-18 13:26:48 +07:00
a5bd7f7a72
Currently the decision whether to build the renesas-cpg-mssr and clk-mstp drivers is handled by Makefile logic. However, the rcar-sysc driver will need to know whether CPG/MSSR and/or CPG/MSTP support are available or not. To avoid having to duplicate this logic, move it to Kconfig. Provide non-visible CLK_RENESAS_CPG_MSSR and CLK_RENESAS_CPG_MSTP Kconfig symbols, which can be used by both Makefiles and C code. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
16 lines
738 B
Makefile
16 lines
738 B
Makefile
obj-$(CONFIG_ARCH_EMEV2) += clk-emev2.o
|
|
obj-$(CONFIG_ARCH_R7S72100) += clk-rz.o
|
|
obj-$(CONFIG_ARCH_R8A73A4) += clk-r8a73a4.o clk-div6.o
|
|
obj-$(CONFIG_ARCH_R8A7740) += clk-r8a7740.o clk-div6.o
|
|
obj-$(CONFIG_ARCH_R8A7778) += clk-r8a7778.o
|
|
obj-$(CONFIG_ARCH_R8A7779) += clk-r8a7779.o
|
|
obj-$(CONFIG_ARCH_R8A7790) += clk-rcar-gen2.o clk-div6.o
|
|
obj-$(CONFIG_ARCH_R8A7791) += clk-rcar-gen2.o clk-div6.o
|
|
obj-$(CONFIG_ARCH_R8A7793) += clk-rcar-gen2.o clk-div6.o
|
|
obj-$(CONFIG_ARCH_R8A7794) += clk-rcar-gen2.o clk-div6.o
|
|
obj-$(CONFIG_ARCH_R8A7795) += r8a7795-cpg-mssr.o
|
|
obj-$(CONFIG_ARCH_SH73A0) += clk-sh73a0.o clk-div6.o
|
|
|
|
obj-$(CONFIG_CLK_RENESAS_CPG_MSSR) += renesas-cpg-mssr.o clk-div6.o
|
|
obj-$(CONFIG_CLK_RENESAS_CPG_MSTP) += clk-mstp.o
|