summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-12-17 20:02:05 +0100
committerWolfgang Denk <wd@denx.de>2010-12-17 20:02:05 +0100
commit2a9a2339a4ea04636ed0968e76eeaf784e987f52 (patch)
treee4891391ce68c96ee779c195d0d92aea89fccc01 /arch
parent3ac45988ab1605baaf83bd3acb80a197c9a208c2 (diff)
parent85579906cb241ab0f544a2d5ba6d9e33714ec897 (diff)
downloadu-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.h8
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