diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-06-08 15:53:45 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-08-06 12:55:49 -0400 |
commit | 306208f40cde5f835e891976031571b81815b9df (patch) | |
tree | 084867d5c1c7c8e45d8d770267f6125966afd27f /arch/blackfin/mach-bf518 | |
parent | a13265af99c8c10c61b7713d62d8d163fbf30a94 (diff) |
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-bf518')
-rw-r--r-- | arch/blackfin/mach-bf518/include/mach/portmux.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf518/include/mach/portmux.h b/arch/blackfin/mach-bf518/include/mach/portmux.h index 3af790828d9f..d39eb4b66de7 100644 --- a/arch/blackfin/mach-bf518/include/mach/portmux.h +++ b/arch/blackfin/mach-bf518/include/mach/portmux.h | |||
@@ -109,6 +109,7 @@ | |||
109 | #define P_SPI1_SSEL4 (P_DEFINED | P_IDENT(GPIO_PF8) | P_FUNCT(2)) | 109 | #define P_SPI1_SSEL4 (P_DEFINED | P_IDENT(GPIO_PF8) | P_FUNCT(2)) |
110 | #define P_SPI1_SSEL5 (P_DEFINED | P_IDENT(GPIO_PG11) | P_FUNCT(2)) | 110 | #define P_SPI1_SSEL5 (P_DEFINED | P_IDENT(GPIO_PG11) | P_FUNCT(2)) |
111 | 111 | ||
112 | #define GPIO_DEFAULT_BOOT_SPI_CS GPIO_PG15 | ||
112 | #define P_DEFAULT_BOOT_SPI_CS P_SPI0_SSEL2 | 113 | #define P_DEFAULT_BOOT_SPI_CS P_SPI0_SSEL2 |
113 | 114 | ||
114 | /* SPORT Port Mux */ | 115 | /* SPORT Port Mux */ |