diff options
author | clagix@gmail.com <clagix@gmail.com> | 2010-12-06 08:03:37 +0000 |
---|---|---|
committer | Reinhard Meyer <u-boot@emk-elektronik.de> | 2010-12-17 09:25:43 +0100 |
commit | a138d96aa88b6487c1409dd47a4ece9c3e1c3115 (patch) | |
tree | 1016179916c4e38e4b85f1f19dd035def7c560bb /arch/arm | |
parent | f805548b28f90aa76374b16f86206dd3a5743d23 (diff) | |
download | u-boot-imx-a138d96aa88b6487c1409dd47a4ece9c3e1c3115.zip u-boot-imx-a138d96aa88b6487c1409dd47a4ece9c3e1c3115.tar.gz u-boot-imx-a138d96aa88b6487c1409dd47a4ece9c3e1c3115.tar.bz2 |
AT91RM9200: fix AT91_PMC_MCKR_MDIV_* defines for this CPU
Signed-off-by: Guido Classen <clagix@gmail.com>
Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
Diffstat (limited to 'arch/arm')
-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 |