]> git.ipfire.org Git - people/ms/u-boot.git/blame - drivers/clk/Kconfig
dm: unify obj-$(CONFIG_DM) and obj-$(CONFIG_SPL_DM) entries
[people/ms/u-boot.git] / drivers / clk / Kconfig
CommitLineData
f26c8a8e
SG
1config CLK
2 bool "Enable clock driver support"
3 depends on DM
4 help
5 This allows drivers to be provided for clock generators, including
6 oscillators and PLLs. Devices can use a common clock API to request
7 a particular clock rate and check on available clocks. Clocks can
8 feed into other clocks in a tree structure, with multiplexers to
9 choose the source for each clock.
10
11config SPL_CLK_SUPPORT
12 bool "Enable clock support in SPL"
13 depends on CLK
14 help
15 The clock subsystem adds a small amount of overhead to the image.
16 If this is acceptable and you have a need to use clock drivers in
17 SPL, enable this option. It might provide a cleaner interface to
18 setting up clocks within SPL, and allows the same drivers to be
19 used as U-Boot proper.