]> err.no Git - linux-2.6/commitdiff
Blackfin arch: all our other ports call this SIZE rather than SPI_LEN
authorMike Frysinger <michael.frysinger@analog.com>
Sun, 5 Aug 2007 09:06:48 +0000 (17:06 +0800)
committerBryan Wu <bryan.wu@analog.com>
Sun, 5 Aug 2007 09:06:48 +0000 (17:06 +0800)
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
include/asm-blackfin/mach-bf533/defBF532.h
include/asm-blackfin/mach-bf537/defBF534.h

index 6a3cf93f8b577c2efcef0e2657da785bcd1658df..81b4af17c6a3f6f709017960baf1dcfc6065be2e 100644 (file)
 #define GM                     0x00000008      /* When RDBR full, get more (=1) data or discard (=0) incoming Data */
 #define PSSE                   0x00000010      /* Enable (=1) Slave-Select input for Master. */
 #define EMISO                  0x00000020      /* Enable (=1) MISO pin as an output. */
-#define SPI_LEN                0x00000100      /* Word length (0 => 8 bits, 1 => 16 bits) */
+#define SIZE                   0x00000100      /* Word length (0 => 8 bits, 1 => 16 bits) */
 #define LSBF                   0x00000200      /* Data format (0 => MSB sent/received first 1 => LSB sent/received first) */
 #define CPHA                   0x00000400      /* Clock phase (0 => SPICLK starts toggling in middle of xfer, 1 => SPICLK toggles at the beginning of xfer. */
 #define CPOL                   0x00000800      /* Clock polarity (0 => active-high, 1 => active-low) */
index 1859f2fee5a732778161fc39b5d887dcb5353bd6..dce4c543a339c05f84c90464284784ef671c731b 100644 (file)
 #define GM                     0x0008  /* Get More (When RDBR Full, Overwrite/Discard*)        */
 #define PSSE           0x0010  /* Slave-Select Input Enable                                            */
 #define EMISO          0x0020  /* Enable MISO As Output                                                        */
-#define SPI_SIZE       0x0100  /* Size of Words (16/8* Bits)                                           */
+#define SIZE           0x0100  /* Size of Words (16/8* Bits)                                           */
 #define LSBF           0x0200  /* LSB First                                                                            */
 #define CPHA           0x0400  /* Clock Phase                                                                          */
 #define CPOL           0x0800  /* Clock Polarity                                                                       */