summaryrefslogtreecommitdiff
path: root/drivers/clk/renesas/Makefile
diff options
context:
space:
mode:
authorRalph Siemsen <ralph.siemsen@linaro.org>2023-05-12 21:36:50 -0400
committerMarek Vasut <marek.vasut+renesas@mailbox.org>2023-05-13 04:01:30 +0200
commit2f6c3f49354a856089d182bb0ee84745e0a68ab1 (patch)
tree8f29a112787a565d04753a88fbab6e69dd655fc4 /drivers/clk/renesas/Makefile
parent54232a705729f26bf569ee6d314f96b7acdb485e (diff)
downloadu-boot-2f6c3f49354a856089d182bb0ee84745e0a68ab1.tar.gz
clk: renesas: prepare for non R-Car clock drivers
Add new CONFIG_CLK_RCAR to control compilation of shared code for R-Car clock drivers (renesas-cpg-mssr.c). Enable this for R-Car Gen2 and 3. This is necessary so that CONFIG_CLK_RENESAS can be enabled, allowing recursion into the drivers/clk/reneasas directory, without bringing in the R-Car support code. The support code contains platform specific access (TMU_BASE) which is not needed on other Renesas devices such as RZ/N1. Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org> Reviewed-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Diffstat (limited to 'drivers/clk/renesas/Makefile')
-rw-r--r--drivers/clk/renesas/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/renesas/Makefile b/drivers/clk/renesas/Makefile
index fe0391e520..c95dee67f3 100644
--- a/drivers/clk/renesas/Makefile
+++ b/drivers/clk/renesas/Makefile
@@ -1,4 +1,4 @@
-obj-$(CONFIG_CLK_RENESAS) += renesas-cpg-mssr.o
+obj-$(CONFIG_CLK_RCAR) += renesas-cpg-mssr.o
obj-$(CONFIG_CLK_RCAR_CPG_LIB) += rcar-cpg-lib.o
obj-$(CONFIG_CLK_RCAR_GEN2) += clk-rcar-gen2.o
obj-$(CONFIG_CLK_R8A774A1) += r8a774a1-cpg-mssr.o