summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf561/include
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-06-08 21:53:45 +0200
committerMike Frysinger <vapier@gentoo.org>2010-08-06 18:55:49 +0200
commit306208f40cde5f835e891976031571b81815b9df (patch)
tree084867d5c1c7c8e45d8d770267f6125966afd27f /arch/blackfin/mach-bf561/include
parentBlackfin: fix typo in hweight asm (diff)
downloadlinux-306208f40cde5f835e891976031571b81815b9df.tar.xz
linux-306208f40cde5f835e891976031571b81815b9df.zip
Blackfin: add a GPIO_DEFAULT_BOOT_SPI_CS
This is parallel to the existing P_DEFAULT_BOOT_SPI_CS, but in terms of the GPIO value so it can be used with the normal gpio API. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf561/include')
-rw-r--r--arch/blackfin/mach-bf561/include/mach/portmux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf561/include/mach/portmux.h b/arch/blackfin/mach-bf561/include/mach/portmux.h
index 3a7b46bbe849..56be4e8d1966 100644
--- a/arch/blackfin/mach-bf561/include/mach/portmux.h
+++ b/arch/blackfin/mach-bf561/include/mach/portmux.h
@@ -91,6 +91,7 @@
#define P_SPI0_MOSI (P_DONTCARE)
#define P_SPI0_MISO (P_DONTCARE)
#define P_SPI0_SCK (P_DONTCARE)
+#define GPIO_DEFAULT_BOOT_SPI_CS GPIO_PF2
#define P_DEFAULT_BOOT_SPI_CS P_SPI0_SSEL2
#endif /* _MACH_PORTMUX_H_ */