diff options
author | TsiChung Liew <Tsi-Chung.Liew@freescale.com> | 2008-07-23 17:53:36 -0500 |
---|---|---|
committer | John Rigby <jrigby@freescale.com> | 2008-08-14 12:31:55 -0600 |
commit | a7323bba229203aae2604afde131ab47bad4eadc (patch) | |
tree | 7ec5419217881b7f7caf1754b0fff3374c5c2a86 /include/configs | |
parent | b2d022d1ac3f59bffa9cec249341e77aea168abc (diff) |
ColdFire: Add SSPI feature for MCF5445x
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/M54455EVB.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/include/configs/M54455EVB.h b/include/configs/M54455EVB.h index 6f93eea315d..4d17f2642b4 100644 --- a/include/configs/M54455EVB.h +++ b/include/configs/M54455EVB.h @@ -76,6 +76,7 @@ #undef CONFIG_CMD_PCI #define CONFIG_CMD_PING #define CONFIG_CMD_REGINFO +#define CONFIG_CMD_SPI #undef CONFIG_CMD_LOADB #undef CONFIG_CMD_LOADS @@ -173,7 +174,20 @@ /* DSPI and Serial Flash */ #define CONFIG_CF_DSPI -#define CONFIG_SERIAL_FLASH +#define CONFIG_HARD_SPI +#ifdef CONFIG_CMD_SPI +# define CFG_DSPI_DCTAR0 (DSPI_DCTAR_TRSZ(7) | \ + DSPI_DCTAR_CPOL | \ + DSPI_DCTAR_CPHA | \ + DSPI_DCTAR_PCSSCK_1CLK | \ + DSPI_DCTAR_PASC(0) | \ + DSPI_DCTAR_PDT(0) | \ + DSPI_DCTAR_CSSCK(0) | \ + DSPI_DCTAR_ASC(0) | \ + DSPI_DCTAR_PBR(0) | \ + DSPI_DCTAR_DT(1) | \ + DSPI_DCTAR_BR(1)) +#endif /* PCI */ #ifdef CONFIG_CMD_PCI |