]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: mvebu: Add some SPI CS attributes
authorStefan Roese <sr@denx.de>
Fri, 12 Feb 2016 12:52:16 +0000 (13:52 +0100)
committerStefan Roese <sr@denx.de>
Thu, 24 Mar 2016 08:47:56 +0000 (09:47 +0100)
These attribute defines may be used to map an area of memory for direct
access to the specific SPI devices. See SPI Direct Access Mode for
further information.

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/mach-mvebu/include/mach/cpu.h

index 017d55f412ed01b9e871f7300c85a083cb5686dd..dd58b4adc45f4d13409d9ef0d14cb23833343732 100644 (file)
@@ -47,6 +47,9 @@ enum cpu_attrib {
        CPU_ATTR_DRAM_CS3 = 0x07,
        CPU_ATTR_NANDFLASH = 0x2f,
        CPU_ATTR_SPIFLASH = 0x1e,
+       CPU_ATTR_SPI0_CS0 = 0x1e,
+       CPU_ATTR_SPI0_CS1 = 0x5e,
+       CPU_ATTR_SPI1_CS2 = 0x9a,
        CPU_ATTR_BOOTROM = 0x1d,
        CPU_ATTR_PCIE_IO = 0xe0,
        CPU_ATTR_PCIE_MEM = 0xe8,