mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-16 22:18:52 +00:00
clk: renesas: Make clock tables Kconfig configurable
Add Kconfig entries for each SoC clock table, so they can be compiled in or out at build time. This can reduce the size of the binary if desired. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
This commit is contained in:
parent
ff50b323b3
commit
65f1bbf678
2 changed files with 33 additions and 5 deletions
|
@ -10,3 +10,31 @@ config CLK_RCAR_GEN3
|
|||
depends on CLK_RENESAS
|
||||
help
|
||||
Enable this to support the clocks on Renesas RCar Gen3 SoC.
|
||||
|
||||
config CLK_R8A7795
|
||||
bool "Renesas R8A7795 clock driver"
|
||||
def_bool y if R8A7795
|
||||
depends on CLK_RCAR_GEN3
|
||||
help
|
||||
Enable this to support the clocks on Renesas R8A7795 SoC.
|
||||
|
||||
config CLK_R8A7796
|
||||
bool "Renesas R8A7796 clock driver"
|
||||
def_bool y if R8A7796
|
||||
depends on CLK_RCAR_GEN3
|
||||
help
|
||||
Enable this to support the clocks on Renesas R8A7796 SoC.
|
||||
|
||||
config CLK_R8A77970
|
||||
bool "Renesas R8A77970 clock driver"
|
||||
def_bool y if R8A77970
|
||||
depends on CLK_RCAR_GEN3
|
||||
help
|
||||
Enable this to support the clocks on Renesas R8A77970 SoC.
|
||||
|
||||
config CLK_R8A77995
|
||||
bool "Renesas R8A77995 clock driver"
|
||||
def_bool y if R8A77995
|
||||
depends on CLK_RCAR_GEN3
|
||||
help
|
||||
Enable this to support the clocks on Renesas R8A77995 SoC.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
obj-$(CONFIG_CLK_RCAR_GEN3) += clk-rcar-gen3.o \
|
||||
r8a7795-cpg-mssr.o \
|
||||
r8a7796-cpg-mssr.o \
|
||||
r8a77970-cpg-mssr.o \
|
||||
r8a77995-cpg-mssr.o
|
||||
obj-$(CONFIG_CLK_RCAR_GEN3) += clk-rcar-gen3.o
|
||||
obj-$(CONFIG_CLK_R8A7795) += r8a7795-cpg-mssr.o
|
||||
obj-$(CONFIG_CLK_R8A7796) += r8a7796-cpg-mssr.o
|
||||
obj-$(CONFIG_CLK_R8A77970) += r8a77970-cpg-mssr.o
|
||||
obj-$(CONFIG_CLK_R8A77995) += r8a77995-cpg-mssr.o
|
||||
|
|
Loading…
Add table
Reference in a new issue