summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/Makefile
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2019-04-15 11:32:18 +0200
committerTom Warren <twarren@nvidia.com>2019-06-05 09:16:33 -0700
commitb64e0b9231e1fd700615cf88cd66079d257849d8 (patch)
tree93e60fbe43b397ee858bf35f918a8d7b6adcf4f3 /arch/arm/mach-tegra/Makefile
parente9c58f2bb855e02d72a003407afe49d632fd4fc5 (diff)
downloadu-boot-b64e0b9231e1fd700615cf88cd66079d257849d8.tar.gz
u-boot-b64e0b9231e1fd700615cf88cd66079d257849d8.tar.bz2
u-boot-b64e0b9231e1fd700615cf88cd66079d257849d8.zip
ARM: tegra: Guard clock code with a Kconfig symbol
Clock code is not relevant on all Tegra SoC generations, so guard it with a Kconfig symbol that can be selected by the generations that need it. This is in preparation for unifying Tegra186 code with the code used on older generations. Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/Makefile')
-rw-r--r--arch/arm/mach-tegra/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/Makefile b/arch/arm/mach-tegra/Makefile
index d4b4666fb1..0e812818d7 100644
--- a/arch/arm/mach-tegra/Makefile
+++ b/arch/arm/mach-tegra/Makefile
@@ -16,7 +16,7 @@ endif
obj-y += ap.o
obj-y += board.o board2.o
obj-y += cache.o
-obj-y += clock.o
+obj-$(CONFIG_TEGRA_CLKRST) += clock.o
obj-y += pinmux-common.o
obj-y += powergate.o
obj-y += xusb-padctl-dummy.o