diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2012-11-02 15:50:28 +0100 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2012-11-02 15:50:28 +0100 |
commit | a00170e8abc25813600f6523e052653aae121d39 (patch) | |
tree | 8ffdfebf0414845b55c8bc1a958bb41ac3510bea /arch | |
parent | 124d03387d045494712e6037e49854fde217633f (diff) |
tegra: colibri_t30: hack to avoid lock-up due to missing pll_a lock bit
At least our early Colibri T30 prototypes exhibit an issue that often
times kernel locks-up during boot-up due to missing pll_a lock bit.
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-tegra/clock.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/clock.h b/arch/arm/mach-tegra/clock.h index c27176b1cc0d..d2e510818042 100644 --- a/arch/arm/mach-tegra/clock.h +++ b/arch/arm/mach-tegra/clock.h @@ -25,7 +25,12 @@ #ifdef CONFIG_ARCH_TEGRA_2x_SOC #define USE_PLL_LOCK_BITS 0 /* Never use lock bits on Tegra2 */ #else -#define USE_PLL_LOCK_BITS 1 /* Use lock bits for PLL stabiliation */ +#ifdef CONFIG_MACH_COLIBRI_T30 +/* Hack: avoid lock-up during boot-up due to missing pll_a lock bit. */ +#define USE_PLL_LOCK_BITS 0 /* Never use lock bits on Colibri T30 */ +#else /* CONFIG_MACH_COLIBRI_T30 */ +#define USE_PLL_LOCK_BITS 1 /* Use lock bits for PLL stabilisation */ +#endif /* CONFIG_MACH_COLIBRI_T30 */ #define USE_PLLE_SS 1 /* Use spread spectrum coefficients for PLLE */ #define PLL_POST_LOCK_DELAY 50 /* Safety delay after lock is detected */ #endif |