diff options
author | Wolfgang Denk <wd@denx.de> | 2010-12-17 20:02:05 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-12-17 20:02:05 +0100 |
commit | 2a9a2339a4ea04636ed0968e76eeaf784e987f52 (patch) | |
tree | e4891391ce68c96ee779c195d0d92aea89fccc01 /arch | |
parent | 3ac45988ab1605baaf83bd3acb80a197c9a208c2 (diff) | |
parent | 85579906cb241ab0f544a2d5ba6d9e33714ec897 (diff) | |
download | u-boot-imx-2a9a2339a4ea04636ed0968e76eeaf784e987f52.zip u-boot-imx-2a9a2339a4ea04636ed0968e76eeaf784e987f52.tar.gz u-boot-imx-2a9a2339a4ea04636ed0968e76eeaf784e987f52.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-arm
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/include/asm/arch-at91/at91_pmc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-at91/at91_pmc.h b/arch/arm/include/asm/arch-at91/at91_pmc.h index 2f9ad96..fb8bb17 100644 --- a/arch/arm/include/asm/arch-at91/at91_pmc.h +++ b/arch/arm/include/asm/arch-at91/at91_pmc.h @@ -91,10 +91,18 @@ typedef struct at91_pmc { #define AT91_PMC_MCKR_PRES_64 0x00000018 #define AT91_PMC_MCKR_PRES_MASK 0x0000001C +#ifdef CONFIG_AT91RM9200 +#define AT91_PMC_MCKR_MDIV_1 0x00000000 +#define AT91_PMC_MCKR_MDIV_2 0x00000100 +#define AT91_PMC_MCKR_MDIV_3 0x00000200 +#define AT91_PMC_MCKR_MDIV_4 0x00000300 +#define AT91_PMC_MCKR_MDIV_MASK 0x00000300 +#else #define AT91_PMC_MCKR_MDIV_1 0x00000000 #define AT91_PMC_MCKR_MDIV_2 0x00000100 #define AT91_PMC_MCKR_MDIV_4 0x00000200 #define AT91_PMC_MCKR_MDIV_MASK 0x00000300 +#endif #define AT91_PMC_MCKR_PLLADIV_1 0x00001000 #define AT91_PMC_MCKR_PLLADIV_2 0x00002000 |