diff options
author | Jens Scharsig <js_at_ng@scharsoft.de> | 2010-02-14 12:20:43 +0100 |
---|---|---|
committer | Tom Rix <Tom.Rix@windriver.com> | 2010-03-07 12:36:36 -0600 |
commit | 7cedb29872069e782f9f97cef4ab1232736e4c85 (patch) | |
tree | e8b3284e4848002ca3da82daf4546eba7dac513f /include/asm-arm | |
parent | 637833c2d669f9a370706e275e7103454c3c83ec (diff) | |
download | u-boot-imx-7cedb29872069e782f9f97cef4ab1232736e4c85.zip u-boot-imx-7cedb29872069e782f9f97cef4ab1232736e4c85.tar.gz u-boot-imx-7cedb29872069e782f9f97cef4ab1232736e4c85.tar.bz2 |
updates the at91 main_clock calculation
* updates the conditional main_clock calculation (if AT91_MAIN_CLOCK defined) to c structure SoC access
* add need register flags
Signed-off-by: Jens Scharsig <js_at_ng@scharsoft.de>
Diffstat (limited to 'include/asm-arm')
-rw-r--r-- | include/asm-arm/arch-at91/at91_pmc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-arm/arch-at91/at91_pmc.h b/include/asm-arm/arch-at91/at91_pmc.h index 369b5d7..680fe33 100644 --- a/include/asm-arm/arch-at91/at91_pmc.h +++ b/include/asm-arm/arch-at91/at91_pmc.h @@ -71,6 +71,9 @@ typedef struct at91_pmc { #define AT91_PMC_PLLBR_USBDIV_2 0x10000000 #define AT91_PMC_PLLBR_USBDIV_4 0x20000000 +#define AT91_PMC_MCFR_MAINRDY 0x00010000 +#define AT91_PMC_MCFR_MAINF_MASK 0x0000FFFF + #define AT91_PMC_MCKR_CSS_SLOW 0x00000000 #define AT91_PMC_MCKR_CSS_MAIN 0x00000001 #define AT91_PMC_MCKR_CSS_PLLA 0x00000002 |