summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-tegra20/clock.h
diff options
context:
space:
mode:
authorTom Warren <twarren@nvidia.com>2013-01-23 14:01:01 -0700
committerTom Warren <twarren@nvidia.com>2013-02-11 10:35:24 -0700
commitf29f086a098a8462f8b375da0509246843f7fdd1 (patch)
tree8a8b14f6e45bc232e0aea4668b07129f025ce311 /arch/arm/include/asm/arch-tegra20/clock.h
parentd83152d8e42940d193589b351f874a8600335468 (diff)
downloadtalos-obmc-uboot-f29f086a098a8462f8b375da0509246843f7fdd1.tar.gz
talos-obmc-uboot-f29f086a098a8462f8b375da0509246843f7fdd1.zip
Tegra: Move common clock code to arch/arm/cpu/tegra-common/clock.c
This 'commonizes' much of the clock/pll code. SoC-dependent code and tables are left in arch/cpu/tegraXXX-common/clock.c Some T30 tables needed whitespace fixes due to checkpatch complaints. Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'arch/arm/include/asm/arch-tegra20/clock.h')
-rw-r--r--arch/arm/include/asm/arch-tegra20/clock.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-tegra20/clock.h b/arch/arm/include/asm/arch-tegra20/clock.h
index f592b9550e..491c02c026 100644
--- a/arch/arm/include/asm/arch-tegra20/clock.h
+++ b/arch/arm/include/asm/arch-tegra20/clock.h
@@ -26,4 +26,8 @@
#include <asm/arch-tegra/clock.h>
+/* CLK_RST_CONTROLLER_OSC_CTRL_0 */
+#define OSC_FREQ_SHIFT 30
+#define OSC_FREQ_MASK (3U << OSC_FREQ_SHIFT)
+
#endif /* _TEGRA20_CLOCK_H */
OpenPOWER on IntegriCloud