diff options
author | Hector Palacios <hector.palacios@digi.com> | 2010-12-22 12:48:58 +0100 |
---|---|---|
committer | Hector Palacios <hector.palacios@digi.com> | 2010-12-28 17:59:13 +0100 |
commit | 911b9e8ca28e29efa8f1fdf49715c0d8430f4e8e (patch) | |
tree | 5f357ff1cba0f2e445dfff42731ec3eb3ca747fb /drivers | |
parent | 2a3675d84a44f1b445c40c1560d9159083b6f8c1 (diff) |
fims sdio: fix default CD/WP for cme9210 platform
Default GPIOs for CD and WP were ok for 9215 based platforms
but not for cme9210. Make the default values dependent on
selected platform.
This solves vantive #37031.
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
(cherry picked from commit 4c69603f3381a8d02cc135a941a14efd40800048)
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
Diffstat (limited to 'drivers')
-rwxr-xr-x | drivers/fims/Kconfig | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/fims/Kconfig b/drivers/fims/Kconfig index 2bf72e6910a2..e927ee0f8867 100755 --- a/drivers/fims/Kconfig +++ b/drivers/fims/Kconfig @@ -154,7 +154,8 @@ config FIM_ZERO_SDIO_CD config FIM_ZERO_SDIO_CD_GPIO int "GPIO to use for Card Detect on FIM 0" - default 101 + default 101 if !(MACH_CME9210JS || MACH_CME9210) + default 9 if (MACH_CME9210JS || MACH_CME9210) depends on FIM_ZERO_SDIO_CD help Specify the GPIO number to use for the SDIO Card Detect signal. @@ -180,7 +181,8 @@ config FIM_ZERO_SDIO_WP config FIM_ZERO_SDIO_WP_GPIO int "GPIO to use for Write Protect on FIM 0" - default 100 + default 100 if !(MACH_CME9210JS || MACH_CME9210) + default 6 if (MACH_CME9210JS || MACH_CME9210) depends on FIM_ZERO_SDIO_WP help Specify the GPIO number to use for the SDIO Write Protect signal. |