diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2008-09-09 14:13:59 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2008-09-09 14:13:59 +0200 |
commit | a288018b6ff0adb46e5af79cfa5b9c1a85f10aa5 (patch) | |
tree | 1550d2a80582f7f8bb4ae9fa44ca9e1f39b60e5d /include | |
parent | 2c02a3914f722036f6be1008a990b7f2daab2f01 (diff) | |
download | barebox-a288018b6ff0adb46e5af79cfa5b9c1a85f10aa5.tar.gz barebox-a288018b6ff0adb46e5af79cfa5b9c1a85f10aa5.tar.xz |
pcm038: implement better waiting for PLLs
Instead of using a trivial counting loop we poll the 32KHz oscillator
to wait for the PLLs to stabilize
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-arm/arch-imx/imx27-regs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-arm/arch-imx/imx27-regs.h b/include/asm-arm/arch-imx/imx27-regs.h index 1ebf5d3f2a..8b93bd9806 100644 --- a/include/asm-arm/arch-imx/imx27-regs.h +++ b/include/asm-arm/arch-imx/imx27-regs.h @@ -226,6 +226,8 @@ #define PCCR1_UART2_EN (1 << 30) #define PCCR1_UART1_EN (1 << 31) +#define CCSR_32K_SR (1 << 15) + /* SDRAM Controller registers bitfields */ #define ESDCTL_PRCT(x) (((x) & 3f) << 0) #define ESDCTL_BL (1 << 7) |