diff options
author | Tom Warren <twarren@nvidia.com> | 2013-01-23 14:01:01 -0700 |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2013-02-11 10:35:24 -0700 |
commit | f29f086a098a8462f8b375da0509246843f7fdd1 (patch) | |
tree | 8a8b14f6e45bc232e0aea4668b07129f025ce311 /arch/arm/include/asm/arch-tegra30 | |
parent | d83152d8e42940d193589b351f874a8600335468 (diff) | |
download | u-boot-imx-f29f086a098a8462f8b375da0509246843f7fdd1.zip u-boot-imx-f29f086a098a8462f8b375da0509246843f7fdd1.tar.gz u-boot-imx-f29f086a098a8462f8b375da0509246843f7fdd1.tar.bz2 |
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-tegra30')
-rw-r--r-- | arch/arm/include/asm/arch-tegra30/clock.h | 4 | ||||
-rw-r--r-- | arch/arm/include/asm/arch-tegra30/tegra.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-tegra30/clock.h b/arch/arm/include/asm/arch-tegra30/clock.h index 61fc4c8..2f24a75 100644 --- a/arch/arm/include/asm/arch-tegra30/clock.h +++ b/arch/arm/include/asm/arch-tegra30/clock.h @@ -21,4 +21,8 @@ #include <asm/arch-tegra/clock.h> +/* CLK_RST_CONTROLLER_OSC_CTRL_0 */ +#define OSC_FREQ_SHIFT 28 +#define OSC_FREQ_MASK (0xF << OSC_FREQ_SHIFT) + #endif /* _TEGRA30_CLOCK_H_ */ diff --git a/arch/arm/include/asm/arch-tegra30/tegra.h b/arch/arm/include/asm/arch-tegra30/tegra.h index 46a7474..decf564 100644 --- a/arch/arm/include/asm/arch-tegra30/tegra.h +++ b/arch/arm/include/asm/arch-tegra30/tegra.h @@ -23,4 +23,6 @@ #define BCT_ODMDATA_OFFSET 6116 /* 12 bytes from end of BCT */ +#define MAX_NUM_CPU 4 + #endif /* TEGRA30_H */ |