summaryrefslogtreecommitdiff
path: root/drivers/spi/mxc_spi_mx27.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/mxc_spi_mx27.h')
-rw-r--r--drivers/spi/mxc_spi_mx27.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/spi/mxc_spi_mx27.h b/drivers/spi/mxc_spi_mx27.h
index 2323cd96e494..06921f3dacd9 100644
--- a/drivers/spi/mxc_spi_mx27.h
+++ b/drivers/spi/mxc_spi_mx27.h
@@ -50,8 +50,8 @@
#define MXC_CSPICTRL_MAXDATRATE 0x10
#define MXC_CSPICTRL_DATAMASK 0x1F
#define MXC_CSPICTRL_DATASHIFT 14
-/* This adjustment in the shift is valid only for even states only(i.e. divide
- ratio of 2). SDHC_SPIEN is not set by default. If SDHC_SPIEN bit is set in
+/* This adjustment in the shift is valid only for even states only(i.e. divide
+ ratio of 2). SDHC_SPIEN is not set by default. If SDHC_SPIEN bit is set in
MXC_CSPICTRL, then divide ratio is 3, this shift adjustment is invalid. */
#define MXC_CSPICTRL_ADJUST_SHIFT(x) ((x) = ((x) - 1) * 2)
@@ -115,6 +115,8 @@
#define MXC_CSPITEST_LBC (1 << 14)
+#define MXC_CSPIRESET_START 1
+
/*!
* @struct mxc_spi_unique_def
* @brief This structure contains information that differs with
@@ -142,7 +144,7 @@ struct mxc_spi_unique_def {
*/
unsigned int drctrl_shift;
/*!
- * Transfer Complete shift.
+ * Transfer Complete shift.
*/
unsigned int xfer_complete;
/*!