]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: mvebu: spi.h: Add registers for direct write access
authorStefan Roese <sr@denx.de>
Fri, 12 Feb 2016 12:52:17 +0000 (13:52 +0100)
committerStefan Roese <sr@denx.de>
Thu, 24 Mar 2016 08:48:07 +0000 (09:48 +0100)
The direct write config register is needed for SPI direct write mode
configuration.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Luka Perkov <luka.perkov@sartura.hr>
Signed-off-by: Stefan Roese <sr@denx.de>
arch/arm/include/asm/arch-mvebu/spi.h

index e512dcec1621c8e5a3f336cc56521f2123f83097..526fea68e6a363f8272e0fb1bd37e40220d33961 100644 (file)
@@ -19,6 +19,9 @@ struct kwspi_registers {
        u32 din;        /* 0x1060c */
        u32 irq_cause;  /* 0x10610 */
        u32 irq_mask;   /* 0x10614 */
+       u32 timing1;    /* 0x10618 */
+       u32 timing2;    /* 0x1061c */
+       u32 dw_cfg;     /* 0x10620 - Direct Write Configuration */
 };
 
 /* They are used to define CONFIG_SYS_KW_SPI_MPP