codingstyle cleanup for spi driver
..and rm unused CONFIG_FSL_SPI define Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
This commit is contained in:
@@ -32,8 +32,7 @@
|
||||
defined(CONFIG_MPC8315) || \
|
||||
defined(CONFIG_MPC837X)
|
||||
|
||||
typedef struct spi8xxx
|
||||
{
|
||||
typedef struct spi8xxx {
|
||||
u8 res0[0x20]; /* 0x0-0x01f reserved */
|
||||
u32 mode; /* mode register */
|
||||
u32 event; /* event register */
|
||||
|
||||
@@ -356,9 +356,8 @@
|
||||
#define CFG_I2C2_OFFSET 0x3100
|
||||
|
||||
/* SPI */
|
||||
#define CONFIG_HARD_SPI /* SPI with hardware support*/
|
||||
#define CONFIG_HARD_SPI /* SPI with hardware support */
|
||||
#undef CONFIG_SOFT_SPI /* SPI bit-banged */
|
||||
#define CONFIG_FSL_SPI
|
||||
|
||||
/* GPIOs. Used as SPI chip selects */
|
||||
#define CFG_GPIO1_PRELIM
|
||||
|
||||
Reference in New Issue
Block a user