summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-11-22 07:57:23 -0500
committerTom Rini <trini@konsulko.com>2016-11-22 07:57:23 -0500
commit081abb130944e0c6ef5c7e5743422b7b375526b9 (patch)
tree5a360f0b2741fbf719b18e57e2e8e84c504b7234 /arch
parentca39bd8ce13434160f298c398de3e2fb2aafc923 (diff)
parent1f3232d2a10e35f619e48f49d0d8549cf2efcaa8 (diff)
downloadu-boot-imx-081abb130944e0c6ef5c7e5743422b7b375526b9.zip
u-boot-imx-081abb130944e0c6ef5c7e5743422b7b375526b9.tar.gz
u-boot-imx-081abb130944e0c6ef5c7e5743422b7b375526b9.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-spi
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/arch-mvebu/spi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mvebu/spi.h b/arch/arm/include/asm/arch-mvebu/spi.h
index 78869a2..3545aed 100644
--- a/arch/arm/include/asm/arch-mvebu/spi.h
+++ b/arch/arm/include/asm/arch-mvebu/spi.h
@@ -52,6 +52,10 @@ struct kwspi_registers {
#define KWSPI_ADRLEN_3BYTE (2 << 8)
#define KWSPI_ADRLEN_4BYTE (3 << 8)
#define KWSPI_ADRLEN_MASK (3 << 8)
+#define KWSPI_CPOL (1 << 11)
+#define KWSPI_CPHA (1 << 12)
+#define KWSPI_TXLSBF (1 << 13)
+#define KWSPI_RXLSBF (1 << 14)
#define KWSPI_IRQUNMASK 1 /* unmask SPI interrupt */
#define KWSPI_IRQMASK 0 /* mask SPI interrupt */