[U-Boot-Users] [PATCH 02/21] AT91CAP9ADK: Normalize SPI timings

Ken.Fuchs at bench.com Ken.Fuchs at bench.com
Tue May 6 21:23:20 CEST 2008


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?

Sincerely,

Ken Fuchs




More information about the U-Boot mailing list