summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm720t/tegra-common/cpu.h
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2014-01-24 12:46:10 -0700
committerTom Warren <twarren@nvidia.com>2014-02-03 09:46:46 -0700
commita4bcd67c72aabfcc2153f4393cd9108b860d9040 (patch)
treec7cfa7874568332256fe6e3c5e41c04f9e6f5bf0 /arch/arm/cpu/arm720t/tegra-common/cpu.h
parent41447fb2cf2fbeb448b1d606cb13ca1ae84f9737 (diff)
downloadu-boot-imx-a4bcd67c72aabfcc2153f4393cd9108b860d9040.zip
u-boot-imx-a4bcd67c72aabfcc2153f4393cd9108b860d9040.tar.gz
u-boot-imx-a4bcd67c72aabfcc2153f4393cd9108b860d9040.tar.bz2
ARM: tegra: remove a conditional for CSITE rate
There's already an SoC-specific conditional in cpu.h to determine the PLLP rate. Define the CSITE clock rate inside the same conditional, so that we can remove a conditional from clock_enable_coresight(). This means one less place to update the code for new SoCs. Signed-off-by: Stephen Warren <swarren@nvidia.com> Tested-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'arch/arm/cpu/arm720t/tegra-common/cpu.h')
-rw-r--r--arch/arm/cpu/arm720t/tegra-common/cpu.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/arm/cpu/arm720t/tegra-common/cpu.h b/arch/arm/cpu/arm720t/tegra-common/cpu.h
index 60412c7..d1520ce 100644
--- a/arch/arm/cpu/arm720t/tegra-common/cpu.h
+++ b/arch/arm/cpu/arm720t/tegra-common/cpu.h
@@ -1,5 +1,5 @@
/*
- * (C) Copyright 2010-2011
+ * (C) Copyright 2010-2014
* NVIDIA Corporation <www.nvidia.com>
*
* SPDX-License-Identifier: GPL-2.0+
@@ -11,9 +11,11 @@
#define IO_STABILIZATION_DELAY (1000)
#if defined(CONFIG_TEGRA20)
-#define NVBL_PLLP_KHZ (216000)
+#define NVBL_PLLP_KHZ 216000
+#define CSITE_KHZ 144000
#elif defined(CONFIG_TEGRA30) || defined(CONFIG_TEGRA114)
-#define NVBL_PLLP_KHZ (408000)
+#define NVBL_PLLP_KHZ 408000
+#define CSITE_KHZ 204000
#else
#error "Unknown Tegra chip!"
#endif