projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
spi: Kconfig: Add XILINX_SPI entry
[oweals/u-boot.git]
/
drivers
/
spi
/
sh_spi.h
diff --git
a/drivers/spi/sh_spi.h
b/drivers/spi/sh_spi.h
index b1cf98cc335186029d8cf0148abfcbe5f4e9c365..96b4b6850185a3bb8983d7331919bc4e8a994db7 100644
(file)
--- a/
drivers/spi/sh_spi.h
+++ b/
drivers/spi/sh_spi.h
@@
-60,10
+60,12
@@
struct sh_spi_regs {
#define SH_SPI_TBFI 0x40
#define SH_SPI_RBEI 0x20
#define SH_SPI_RBFI 0x10
#define SH_SPI_TBFI 0x40
#define SH_SPI_RBEI 0x20
#define SH_SPI_RBFI 0x10
+#define SH_SPI_SSS1 0x08
#define SH_SPI_WPABRT 0x04
#define SH_SPI_WPABRT 0x04
-#define SH_SPI_SSS
0x01
+#define SH_SPI_SSS
0
0x01
#define SH_SPI_FIFO_SIZE 32
#define SH_SPI_FIFO_SIZE 32
+#define SH_SPI_NUM_CS 4
struct sh_spi {
struct spi_slave slave;
struct sh_spi {
struct spi_slave slave;
@@
-76,4
+78,3
@@
static inline struct sh_spi *to_sh_spi(struct spi_slave *slave)
}
#endif
}
#endif
-