diff options
author | Michael Williamson <michael.williamson@criticallink.com> | 2011-01-18 12:21:45 -0500 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2011-02-28 17:53:29 -0500 |
commit | 5a0d80ea806f89c078dd4b244479080cfe73d2ae (patch) | |
tree | 92965c584ef60a8f2bba606ed8c854f6da08f340 /arch/arm/mach-davinci/board-da850-evm.c | |
parent | c840fc745f6ec8a3b7062d72de193ab9c397d725 (diff) |
davinci: da850: move da850_evm specific mmcsd pinmux array to board file.
The da850_mmcsd0_pins pinmux array contains pins that are specific to the
da850 evm board (the write protect and card detect GPIO pins). Move
the array to the board file.
Signed-off-by: Michael Williamson <michael.williamson@criticallink.com>
Tested-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/board-da850-evm.c')
-rw-r--r-- | arch/arm/mach-davinci/board-da850-evm.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c index c4c0b7562d96..11f986bec89d 100644 --- a/arch/arm/mach-davinci/board-da850-evm.c +++ b/arch/arm/mach-davinci/board-da850-evm.c | |||
@@ -690,6 +690,13 @@ static struct davinci_mmc_config da850_mmc_config = { | |||
690 | .version = MMC_CTLR_VERSION_2, | 690 | .version = MMC_CTLR_VERSION_2, |
691 | }; | 691 | }; |
692 | 692 | ||
693 | static const short da850_evm_mmcsd0_pins[] __initconst = { | ||
694 | DA850_MMCSD0_DAT_0, DA850_MMCSD0_DAT_1, DA850_MMCSD0_DAT_2, | ||
695 | DA850_MMCSD0_DAT_3, DA850_MMCSD0_CLK, DA850_MMCSD0_CMD, | ||
696 | DA850_GPIO4_0, DA850_GPIO4_1, | ||
697 | -1 | ||
698 | }; | ||
699 | |||
693 | static void da850_panel_power_ctrl(int val) | 700 | static void da850_panel_power_ctrl(int val) |
694 | { | 701 | { |
695 | /* lcd backlight */ | 702 | /* lcd backlight */ |
@@ -1077,7 +1084,7 @@ static __init void da850_evm_init(void) | |||
1077 | ret); | 1084 | ret); |
1078 | 1085 | ||
1079 | if (HAS_MMC) { | 1086 | if (HAS_MMC) { |
1080 | ret = davinci_cfg_reg_list(da850_mmcsd0_pins); | 1087 | ret = davinci_cfg_reg_list(da850_evm_mmcsd0_pins); |
1081 | if (ret) | 1088 | if (ret) |
1082 | pr_warning("da850_evm_init: mmcsd0 mux setup failed:" | 1089 | pr_warning("da850_evm_init: mmcsd0 mux setup failed:" |
1083 | " %d\n", ret); | 1090 | " %d\n", ret); |