Le mardi 06 mai 2008 à 14:23 -0500, [EMAIL PROTECTED] a écrit :
> Stelian Pop's patch:
> 
> > diff --git a/include/configs/at91cap9adk.h 
> 
> > -#define AT91_SPI_CLK                       20000000
> > -#define DATAFLASH_TCSS                     (0xFA << 16)
> > -#define DATAFLASH_TCHS                     (0x8 << 24)
> > +#define AT91_SPI_CLK                       15000000
> > +#define DATAFLASH_TCSS                     (0x1a << 16)
> > +#define DATAFLASH_TCHS                     (0x1 << 24)
> 
> What do you mean by "Normalize SPI timings"?
> 
> Why are you replacing 20000000 Hz with 15000000 Hz?
> Faster would be better as long as the SPI bus
> operates reliably, right?

I used here what the kernel people use. I tend to be more confident in
the values used in the kernel (where the code is used by many) than in
some random speed picked up from Atmel's example files.

As for TCSS/TCHS, the values comes from Atmel's bootstrap project.

-- 
Stelian Pop <[EMAIL PROTECTED]>


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
U-Boot-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to