mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 22:20:45 +00:00
AT91CAP9ADK: Normalize SPI timings
This patch changes the SPI timings to closely match the ones used by the Linux kernel and the Atmel's own bootstrap project. Signed-off-by: Stelian Pop <stelian@popies.net> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
parent
1c90df3e14
commit
93da48b910
1 changed files with 3 additions and 3 deletions
|
@ -94,9 +94,9 @@
|
|||
#define CFG_SPI_WRITE_TOUT (5*CFG_HZ)
|
||||
#define CFG_MAX_DATAFLASH_BANKS 1
|
||||
#define CFG_DATAFLASH_LOGIC_ADDR_CS0 0xC0000000 /* CS0 */
|
||||
#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)
|
||||
|
||||
/* NOR flash */
|
||||
#define CFG_FLASH_CFI 1
|
||||
|
|
Loading…
Reference in a new issue