diff options
author | Tom Rini | 2016-11-22 07:57:23 -0500 |
---|---|---|
committer | Tom Rini | 2016-11-22 07:57:23 -0500 |
commit | 081abb130944e0c6ef5c7e5743422b7b375526b9 (patch) | |
tree | 5a360f0b2741fbf719b18e57e2e8e84c504b7234 /arch/arm | |
parent | ca39bd8ce13434160f298c398de3e2fb2aafc923 (diff) | |
parent | 1f3232d2a10e35f619e48f49d0d8549cf2efcaa8 (diff) |
Merge branch 'master' of git://git.denx.de/u-boot-spi
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/include/asm/arch-mvebu/spi.h | 4 |
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 78869a253d1..3545aed1734 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 */ |