aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-davinci/board-da850-evm.c9
-rw-r--r--arch/arm/mach-davinci/da850.c7
-rw-r--r--arch/arm/mach-davinci/include/mach/da8xx.h1
3 files changed, 8 insertions, 9 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
693static 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
693static void da850_panel_power_ctrl(int val) 700static 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);
diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c
index 9cb769c2890b..9fd497afd4a5 100644
--- a/arch/arm/mach-davinci/da850.c
+++ b/arch/arm/mach-davinci/da850.c
@@ -606,13 +606,6 @@ const short da850_lcdcntl_pins[] __initdata = {
606 -1 606 -1
607}; 607};
608 608
609const short da850_mmcsd0_pins[] __initdata = {
610 DA850_MMCSD0_DAT_0, DA850_MMCSD0_DAT_1, DA850_MMCSD0_DAT_2,
611 DA850_MMCSD0_DAT_3, DA850_MMCSD0_CLK, DA850_MMCSD0_CMD,
612 DA850_GPIO4_0, DA850_GPIO4_1,
613 -1
614};
615
616/* FIQ are pri 0-1; otherwise 2-7, with 7 lowest priority */ 609/* FIQ are pri 0-1; otherwise 2-7, with 7 lowest priority */
617static u8 da850_default_priorities[DA850_N_CP_INTC_IRQ] = { 610static u8 da850_default_priorities[DA850_N_CP_INTC_IRQ] = {
618 [IRQ_DA8XX_COMMTX] = 7, 611 [IRQ_DA8XX_COMMTX] = 7,
diff --git a/arch/arm/mach-davinci/include/mach/da8xx.h b/arch/arm/mach-davinci/include/mach/da8xx.h
index 89668b402e23..18f6c23f6b01 100644
--- a/arch/arm/mach-davinci/include/mach/da8xx.h
+++ b/arch/arm/mach-davinci/include/mach/da8xx.h
@@ -129,6 +129,5 @@ extern const short da850_uart2_pins[];
129extern const short da850_i2c0_pins[]; 129extern const short da850_i2c0_pins[];
130extern const short da850_i2c1_pins[]; 130extern const short da850_i2c1_pins[];
131extern const short da850_lcdcntl_pins[]; 131extern const short da850_lcdcntl_pins[];
132extern const short da850_mmcsd0_pins[];
133 132
134#endif /* __ASM_ARCH_DAVINCI_DA8XX_H */ 133#endif /* __ASM_ARCH_DAVINCI_DA8XX_H */