Re: [U-Boot] [PATCH] AT91RM9200: fix AT91_PMC_MCKR_MDIV_* defines for this CPU
Dear Guido Classen, > Dear Reinhard Meyer, > > please find below the git-format-patch generated patch. > Sorry, I can not see whose thread I hijacked. May you please explain? > > Best Regards > Guido Please no patch irrelevant text before the "---" line below! > > Signed-off-by: Guido Classen > > --- > arch/arm/include/asm/arch-at91/at91_pmc.h |8 > 1 files changed, 8 insertions(+), 0 deletions(-) Applied to u-boot-atmel/for-upstream. Thanks, Reinhard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH] AT91RM9200: fix AT91_PMC_MCKR_MDIV_* defines for this CPU
Dear Reinhard Meyer, please find below the git-format-patch generated patch. Sorry, I can not see whose thread I hijacked. May you please explain? Best Regards Guido Signed-off-by: Guido Classen --- 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 0x0018 #define AT91_PMC_MCKR_PRES_MASK0x001C +#ifdef CONFIG_AT91RM9200 +#define AT91_PMC_MCKR_MDIV_1 0x +#define AT91_PMC_MCKR_MDIV_2 0x0100 +#define AT91_PMC_MCKR_MDIV_3 0x0200 +#define AT91_PMC_MCKR_MDIV_4 0x0300 +#define AT91_PMC_MCKR_MDIV_MASK0x0300 +#else #define AT91_PMC_MCKR_MDIV_1 0x #define AT91_PMC_MCKR_MDIV_2 0x0100 #define AT91_PMC_MCKR_MDIV_4 0x0200 #define AT91_PMC_MCKR_MDIV_MASK0x0300 +#endif #define AT91_PMC_MCKR_PLLADIV_10x1000 #define AT91_PMC_MCKR_PLLADIV_20x2000 -- 1.7.0 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH] AT91RM9200: fix AT91_PMC_MCKR_MDIV_* defines for this CPU
Dear cla...@gmail.com, > The AT91RM9200 has a different bit assignment in PMC MCKR register than > it's successors (verified by Atmel's manuals on AT91RM9200 and AT91SAM926). > AT91RM9200 supports the additional divider of 3. > > Signed-off-by: Guido Classen > > --- u-boot-git/arch/arm/include/asm/arch-at91/at91_pmc.h 2010-11-12 > 18:30:31.0 +0100 > +++ u-boot-ccm2200/arch/arm/include/asm/arch-at91/at91_pmc.h 2010-11-16 > 22:00:56.0 +0100 > @@ -91,10 +91,19 @@ > #define AT91_PMC_MCKR_PRES_64 0x0018 > #define AT91_PMC_MCKR_PRES_MASK 0x001C > > +#ifdef CONFIG_AT91RM9200 > +#define AT91_PMC_MCKR_MDIV_1 0x > +#define AT91_PMC_MCKR_MDIV_2 0x0100 > +#define AT91_PMC_MCKR_MDIV_3 0x0200 > +#define AT91_PMC_MCKR_MDIV_4 0x0300 > +#define AT91_PMC_MCKR_MDIV_MASK 0x0300 > +#else > #define AT91_PMC_MCKR_MDIV_10x > #define AT91_PMC_MCKR_MDIV_20x0100 > #define AT91_PMC_MCKR_MDIV_40x0200 > #define AT91_PMC_MCKR_MDIV_MASK 0x0300 > +#endif > > #define AT91_PMC_MCKR_PLLADIV_1 0x1000 > #define AT91_PMC_MCKR_PLLADIV_2 0x2000 This patch is not in git-format-patch format. You hijacked another thread to post this message. Please resubmit! Best Regards, Reinhard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] [PATCH] AT91RM9200: fix AT91_PMC_MCKR_MDIV_* defines for this CPU
The AT91RM9200 has a different bit assignment in PMC MCKR register than it's successors (verified by Atmel's manuals on AT91RM9200 and AT91SAM926). AT91RM9200 supports the additional divider of 3. Signed-off-by: Guido Classen --- u-boot-git/arch/arm/include/asm/arch-at91/at91_pmc.h2010-11-12 18:30:31.0 +0100 +++ u-boot-ccm2200/arch/arm/include/asm/arch-at91/at91_pmc.h2010-11-16 22:00:56.0 +0100 @@ -91,10 +91,19 @@ #define AT91_PMC_MCKR_PRES_64 0x0018 #define AT91_PMC_MCKR_PRES_MASK 0x001C +#ifdef CONFIG_AT91RM9200 +#define AT91_PMC_MCKR_MDIV_1 0x +#define AT91_PMC_MCKR_MDIV_2 0x0100 +#define AT91_PMC_MCKR_MDIV_3 0x0200 +#define AT91_PMC_MCKR_MDIV_4 0x0300 +#define AT91_PMC_MCKR_MDIV_MASK0x0300 +#else #define AT91_PMC_MCKR_MDIV_1 0x #define AT91_PMC_MCKR_MDIV_2 0x0100 #define AT91_PMC_MCKR_MDIV_4 0x0200 #define AT91_PMC_MCKR_MDIV_MASK 0x0300 +#endif #define AT91_PMC_MCKR_PLLADIV_1 0x1000 #define AT91_PMC_MCKR_PLLADIV_2 0x2000 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot