summaryrefslogtreecommitdiff
path: root/drivers/fims
diff options
context:
space:
mode:
authorHector Palacios <hector.palacios@digi.com>2011-01-13 09:50:24 +0100
committerHector Palacios <hector.palacios@digi.com>2011-01-17 10:05:35 +0100
commit8203f0a1a6dbd28372ecb99590efdc0bdc009ee4 (patch)
tree6aae4e79313fecb6208c405ba525a6b0a0f8aab8 /drivers/fims
parentf73f9bdcc48122e62895fdad776ff04ff5d169f6 (diff)
fim_spi: fix FIM0 GPIO selection and add dependency
FIM0 GPIO selection can only be done in ns9215 based platforms. A dependency has been added to the Kconfig. Despite the selection of GPIOs 68-71, the platform code always used GPIOs 0-3. This commit fixes it. This patch fixes vantive #37303. Signed-off-by: Hector Palacios <hector.palacios@digi.com> (cherry picked from commit 9e13b2e008fc0127534f1b786ae56217f5610c5d) Signed-off-by: Hector Palacios <hector.palacios@digi.com>
Diffstat (limited to 'drivers/fims')
-rwxr-xr-xdrivers/fims/Kconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/fims/Kconfig b/drivers/fims/Kconfig
index e927ee0f8867..2842481fd11f 100755
--- a/drivers/fims/Kconfig
+++ b/drivers/fims/Kconfig
@@ -243,6 +243,7 @@ if FIM_ZERO_SPI
choice
prompt "Choose FIM 0 SPI GPIO pins"
+ depends on (MACH_CC9P9215JS || MACH_CCW9P9215JS) && !FIM_ONE_SPI
help
Choose which set of GPIO pins will be used for the standand SPI
signals CS, MISO, MOSI, and CLK.
@@ -253,10 +254,8 @@ config FIM_ZERO_SPI_GPIO_0_TO_3
Select this option to configuration FIM SPI port 0 to use
GPIO pins 0, 1, 2, and 3.
-
config FIM_ZERO_SPI_GPIO_68_TO_71
bool "Use GPIO pins 68 to 71"
- depends on !FIM_ONE_SPI
help
Select this option to configuration FIM SPI port 0 to use
GPIO pins 68, 69, 70, and 71. If you select this option then